How to keep custom drawbot ui visible in comp window even if applied effect is not selected?

Hey guys!
Time for another noob question.
I'm trying to keep my custom ui visible in the comp viewer window even if the user has deselected the effect with the ui overlay.
My experimental effect plugin is based on the CCU example project.  I modified the DrawHandles function in CCU_UI.cpp to do my test drawing.
Its working fine, but anytime I deselect the effect, AE stops drawing it on the comp.  I tried modifying DrawEvent() to skip the event_extraP->contextH->w_type check, but the ui still goes away.   I tried just calling the DrawHandles() function in CCU's Render() function, but this causes AE to crash.  I think its exploding when DrawHandles() is trying to get a surface context, but this is just a guess from the error it reports on crash:
                    ERR(suites.DrawbotSuiteCurrent()->GetSurface(drawing_ref, &surface_ref));
Any tips?
Perhaps I could do my ui drawing in the Render function and burn it into the render buffer, but I would need to check to make sure NOT to draw the UI if AE is actually rendering the comp (preview or output to disk).  I don't have any idea what object would tell me that. 
thanks and happy friday!
-Andy

Thanks for your help Shachar.
I've made some progress on this, but I've hit a wall. :\
In my effect's globalSetup() I check the itemID for the parent comp that the effect's layer lives in.  I store this in the effects' global data.
In my effect's Render() method, I check to see if the active item's ID is the same as the one stored in the global data.
This works interactively, ie: the ui burnins happen if the comp with the effect is active, and if the comp is not active, or a nested comp, the burnins do not occur.
However, during ram preview & rendering, checking the active item's ID doesn't seem to return the proper ID, so the burnins still happen.  
I wonder, during ram preview/render, is the comp no longer active?  (I'm guessing this is whats happening)
If this is the case, is there some other object that I can look at to know specifically which comp is getting rendered/ram previewed, so I can use that information as a trigger instead of:
ERR(suites.ItemSuite6()->AEGP_GetActiveItem(&active_itemH));
I assume some object getting passed along to my Render() method can at least tell me which (parent) comp AE is trying to render? 
thanks!
-Andy
Thanks!

Similar Messages

  • How to keep customer Pattern/Die Equipment in our plant without value

    Hi!
      Anybody help me to sort out my problem. The scenario is,
    How to keep customer Pattern/Die Equipment in our plant without value
    1.My client manufacturing material (A), which is used to produce actual finished goods (B). First material (A) is produced and sold to customer due to the high cost of the material. I followed standard sales order process to sell material (A). (But actually that material is not delivered to the customer, we just deliver it only in the system)
    2. Then the same material (A) is to be brought in to the plant as customer material. It won’t be included in the value of the plant, because it is customer’s property lying in our plant to produce actual finished goods (B). How to inward the material in to our plant?
    3. Pattern/Die material has periodical maintenance to be done by my client. How do we process this in SAP? (Because that material is not our asset or work centre)

    Hi,
    You have two main options,
    Either you receive the material as a non-valuated item (you can use a PO and zero price if you want, or create a new material for it). The problem with this is that if you use Moving Average Prices and don't use a new material it will corrupt the MAP. If you use a separate material then this would be the preferred option.
    If you can't use a separate material (i.e. one that is different from the material used to sell it to the customer) then I would use the second option.
    The secomd option is to bring the item in as Vendor Consignment stock. This is stock available to use but has nop value until you consume it. The problem with this option is, if you consume the item (in a PP order or goods issue to your own stock or similar) the system will post a liability to the vendor which it will expect top be paid.
    So a lot depends on the detailed process you are planniong to use and if it is a separate material master record.
    Steve B

  • How to Keep Custom Brushes in the Brush Panel Flyout Menu?

    So I have a set of brushes that I mostly commonly use. However, I still use other brushes on occasion. When I load those brushes, my custom brush set doesn't stay in the flyout menu and I have no choice but to find the brush file and reload it. Every time.
    It's getting to be a pain in the butt, so I'm wondering if there is a way to permanently keep your custom brush set in the flyout menu of the brush panel I've attached a screen shot in case what I wanted wasn't quite clear! I want my custom brushes to go where the green area is point.
    Also I'm running a Japanese version of PS, but I'm pretty sure almost all the menu places remain the same. I translated some of the menu (although it might not be the exact same as the US CS6, but if you give me instructions, I'm pretty sure I can figure it out!)

    Thanks! You're a life saver
    iPhoneから送信
    2014/10/31 16:16、R_Kelly <[email protected]> のメッセージ:
    How to Keep Custom Brushes in the Brush Panel Flyout Menu?
    created by R_Kelly in Photoshop General Discussion - View the full discussion
    Looks like you using mac os x?
    There are two places you can put your brush presets file:
    1. /Macintosh HD /Applications/Adobe Photoshop CS6/Presets/Brushes
    2. /Users/User Name/Library/Application Support/Adobe/Adobe Photoshop CS6/Presets/Brushes
    The difference is that the ones in the cs6 application folder show in your red area and the ones in the library show up below the red area with a separator line
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6886054#6886054
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop General Discussion by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Navigation links are visible to all groups even after applying specific target audience group in to links at sharepoint 2010 publishing site

    Hi ,
       Any one please help me on why the global navigation links are visible to all group users  even after applying a specific target audience group to the link. I Checked , User profile service  and User profile synchronizing services
    and they are running fine. Test environment is running fine even both the services are not running. Please let me know is any relation should be there between target audience and User profile services?
       I am wondering that the Target Audience is not working in global navigation suddenly in production server and the same is working in test server.
    Thanks & Regards,
    NareshRaju YV,
    Infosys.

    Hi NareshRaju,
    Did you add SharePoint Groups to Target Audience ? if yes please refer http://social.technet.microsoft.com/Forums/sharepoint/en-US/7862f182-c6a2-4d2e-9025-b11514575ac3/audience-targeting-for-navigation-link-issue?forum=sharepointgenerallegacy and
    you will get solution
    Let us now if this helps, thanks
    Regards,
    Pratik Vyas | SharePoint Consultant |
    http://sharepointpratik.blogspot.com
    Posting is provided AS IS with no warranties, and confers no rights
    Please remember to click Mark As Answer if a post solves your problem or
    Vote As Helpful if it was useful.

  • How to keep custom ringtones and text tones in iOS 7

    ....

    Yup - looks like you can only copy the entire text from the Message app and the email app lets you 'select' or 'Select All'.

  • How to make previous chat history visible in new window

    Hi people,
    Recent Windows convert here. I am a loyal user of Trillian, and one of the things I love about Trillian is that when a new chat window comes up, the log from the previous conversation is visible within it.
    So, to illustrate, it's a bit frustrating to have a conversation like this:
    Me: Hey Mike, do you know how Sally is doing?
    Mike: I am away from my computer
    I log off or go away. Then a few hours later,
    Mike: She hurt her foot
    Me: Who hurt her foot?
    You get my drift - if new windows had a little history in them, that'd be great. Now, I know how to save chat history, and where it is saved. What I'm wishing for is that it were right there inside the new window with some kind of divider to set the time/context (even a button to view it would be a step in the right direction). I'm guessing there may be an add-on for this, but my Apple Discussion and Google searches have been fruitless.
    Any ideas? Thanks all.
    Macbook Pro   Mac OS X (10.4.6)  

    HI ZigZagLens,
    Welcome To The Apple Discussion Pages.
    I only know of a partial solution to this.
    If I have a Chat open and the other end person goes offline when they come back my end uses the same window if I still have it open.
    There is no way to reopen a close chat window AND add fresh text chat to it.
    If you wanted this it would be a feature request.
    I could see that it could be done two ways.
    1) The Recents item in iChat itself could list the last few saved chats
    2) An iChat Recents item could be added to the Blue Apple Recents item.
    At present iChat open saved chats are added to the Documents list if they are reopened, so it will probably need both.
    It is around this area that you might find a utility.
    11:04 PM Tuesday; June 6, 2006

  • How to keep quicktime from opening in a separate window?

    I was trying to listen to XM Radio online and everytime I went to click on a station the Quicktime player opened up in a separate window rather than staying within the XM website. Is this normal or is there a way to keep the Quicktime player within the webpage? This problem also happens when listening to MLB.com Audio streems.
    The problem with the player outside of the webpage is it doesn't refresh automatically once it ends stream. You have to go back and reclick the station to stream again.
    I am currently running on a MacBookPro with Leopard 10.5.1 operating system.

    MMM...well...if the button or the link you click on opens the audio/video in the Qt player. There really nothing you can do about this...it's how the web page was set up.
    Please supply a link (with no logins) so somebody can check this out.

  • How to stop workitem complete or how to keep work item in inbox based on conditions even if it completed

    Hi,
    my requirement is to call webdyn pro screen from workflow..
    i am calling webdynpro screen by using FM :CALL_BROWSER from workflow.
    when webdyn pro screen is called user will enter some values . if user closed webdyn pro screen with out entering any values we need show this workitem in his inbox. so that user can again open it and enter values in the webdyn pro screen.
    Please help how to stop work item complete based on conditions.
    Thanks,
    phani

    Hi,
    As per my understanding, this is not a proper approach toy call web dynpro using FM CALL_BROWSER. is the web dynpro screen being called when user clicks on the work item from portal UWL OR from SAP SBWP ?
    if you are calling web dynpro screen from portal UWL when user clicks on work item link, better you achieve it using SWFVISU tcode. in SWFVISU tcode you can maintain which web dynpro. application to call when particualr work item task come in user's inbox. in your web dynpro code, then you can write your buisiness logic when user clicks for example SUBMIT/SAVE button. on action submit/save button you can use FM SAP_WAPI_WORKITEM_COMPLETE to complete the worktiem once the user clicks on final submit/save button. in this way the workitem will get removed from user inbox only upon clicking on submit/save button.
    You can refer below link for web dynpro for workitem:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70648e99-4cc1-2c10-879d-9c61003c69d6?QuickLink=index&…

  • How to keep display on in low light for windows 8 installed on macbook pro retina display

    I am using macbook pro retina display 15". The Screen switches off in Windows 8 in low light conditions.
    How do i resolve this issue?

    Hi,
    Thanks for the reply,
    But I already knew how to manage GPO of a remote computer via MMC, which I have even explained about it in my query. 
    I'm looking for the possibilities and methods of using GPMC to Manage GPO of a remote computer.

  • High Contrast themes on Windows 7&8 overwrites css styles on webpage, how do keep the High Contrast themes setting on window and use the stock CCS?

    This was not a problem for me until Windows 8 now makes it so you HAVE to use high contrast theme to be able to change the background on windows explorer. Otherwise you have to accept it always being white. If there is a windows program that allowed me to change the windows colors like you used to be able to then I would not need to use the high contrast.

    Note I have click on the Firefox button (Tools menu) and then click Options
    Select the Content panel then Click the Colors... button.
    I do have checkbox beside "Allow pages to choose their own colors, instead of my selections above" checked.
    BUT Still
    Windows somehow overrides this. This is bugging the hell out of me. How is it what windows has any control over Firefox's controls anyways?

  • How to keep Spotify from loading automatically on start up even after you changed your settings.

    I'm running Windows 7 OS and had the same issue. I solved my problem by going to the Spotify icon (Shortcut) and right click and go to the bottom were is says properties.Click on properties then click on "open file location". Find a folder that says Users.Click and open Users folder. You sould see a folder that is your username. (xxxx-user). Click and open that folder. Find the file that says "pref". Click to open and you should get a pop-up that says, "choose the program you want to use to open this file". Make sure the check box on the lower left says, "always use the selected program to open this kind of file" is unchecked (It already may be greyed out).Click on WordPad and you should see: ps.publish-playlist=0 and ps.publish-activity=0. Make both a number 3 and click save. Hopefully this will help.

    Hi,
    So it is not in this List ?
    You don't leave the app Open when you Shut down and have this box ticked ?
    AND you have other accounts Enabled so that you see the lower half of this pane ?
    If you only have the iMessages Account Enabled and not the Bonjour one you will not see this and not be able to set the "When I Quit...." setting.
    Whilst for AIM and Jabber and Yahoo Accounts this stop notifications as well it does not for iMessages.
    However I do find even though I get Dock Badge notifications It does not Start the app up.
    9:31 pm      Friday; April 3, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Ipod 160GB showing in Windows Vista OS as Removable Disk, not appearing in iTunes (latest version). How can I resolve?, Ipod 160GB showing in Windows Vista OS as Removable Disk, not appearing in iTunes (latest version). How can I resolve?

    My Ipod 160GB when disconnected is showing without any files, but no room available. It appears in my 'Computer' screen as 'Removable Disk (though the icon is a little iPod). It does not show up in iTunes at all (I have the latest version).
    When I right-click the icon on the 'Computer' screen it does run incredibly slowly. I was doing this to consider if I should try formatting it (only NTSF and exFAT formats were showing) but I wasn't certain if that would be a good idea.
    I have thus far:
    Hard Reset iPod
    Verified the Apple Mobile Device USB Driver was installed correctly via Device Manager
    Checked the device in 'Computer Management' > 'Disk Management - showing as a RAW file with only format option as exFAT or NTSF
    Ran iPod in Diagnostic Boot Mode - IO > HardDrive > HDSMARTData* - stats revealed 'Error' (did this twice to confirm error). Reset iPod from here.
    After this it actually came up in iTunes but said it needed to be restored - ran Restore iPod. Error message said 'iPod cannot be restored. Uknown error occoured (1415).
    Tried Solution 1 (http://support.apple.com/kb/TS1539) - Reregistering the .dll files. Was unable to complete step 11 as the iPod did not appear in iTunes.
    Verified that Apple Mobile Device Manager was installed.
    Restarted the Apple Mobile Device Service.
    Checked for third party conflicts - couldn't find any.
    Changed the drive letter and restarted the computer.
    Put into disk mode - unsure what that achieves.
    Downloaded the HP USB with no luck running the program. I believe that Windows Vista doesn't allow formatting drives to FAT32 at all, and even previous editions of Windows wouldn't allow formatting above 32GB so certainly no suitable for me. If I got hold of a mac computer - could I format on that? Or is there a FAT32 Formatter that works for 160GB?
    So I am at a bit of a frustrated loss. If you have any suggestions or know what I should do - I am all ears or eyes as it were. I will be on standby to give you more information if required.
    Thanks,
    Ashley

    Try Resetting Your iPod while it's connected to the computer.
    Hold down the Menu and Select buttons until you see the Apple logo (or Menu & Play/Pause in older models).
    This will often get it recognized. It may take several attempts.
    Also see these (if you haven't found them already):
    Your Windows PC doesn't recognize iPod
    iPod does not appear in iTunes or on the desktop
    iPod appears in Windows Explorer but does not appear in iTunes

  • How do I play a movie in a separate window and why will my movie not float on top?

    I like to watch movies in a smaller, separate window that floats on top of any other windows.  Since I installed all of the updates, I can not get this to happen.  I read and thought that if you click on the artwork it would launch a separate window but it will launch a music file.  Help please!

    You'll need some sort of additional software. You can still get iDVD by purchasing the iLife '11 retail box (it's available from the Apple Store or probably any Apple dealer). Or you can get other software such as Roxio's Toast. There's also a simple free application you can try:
    http://burn-osx.sourceforge.net/Pages/English/home.html
    Regards.

  • How to keep DLV status orders cost not to settle

    How to keep the dollars associated with production orders at DLV status in WIP and not let them settle to the P&L like orders at TECO status do

    settlement can happen with DLV status and TECO is not a must for settlement.
    Hence only wayout is not by diverting the settlement to somoe other GL a/c if TECO is not done and diverting the setelemt to P and L if TECO is done. It is deficult to reconcile
    Other simple way is change the business proccess, Run the settlement if the order is TECO. How to check that TECO is done or not?
    Chekc the orders in COOIS first and then go for settlement.
    Or give a Z transaction where user will enter the order number and Z prog will check the status first, then take him to settlement screen, if not it will retun with message- make the status TECO. If you want i can help you if you are planning to go for developement.

  • HOW TO KEEP YOUR CURRENT CUSTOMER

    THIS IS NOT EVEN AN IDEA.  THIS IS JUST SIMPLE BUSINESS 101.   I BROUGHT THIS ISSUE 2 YEARS AGO AND ENDED UP TALKING TO A NICE SUPERVISOR THAT UNDERSTOOD MY POSITION AND ENDED UP WITH THE SAME DEAL NEW CUSTOMER WILL GET FOR CURRENT CUSTOMER WHO WANTS TO RENEW THEIR CONTRACT FOR ANOTHER 2 YEARS!!!.  AS WE ALL KNOW VERIZON HAVE A GREAT DEAL FOR NEW CUSTOMER BUT THIS DEAL IS NOT AVAILABLE FOR THEIR 2 OR 10 YEARS CUSTOMER THAT WANT TO RENEW THEIR CONTRACT?????  I UNDERSTAND THE IDEA AND FINANCIAL PART OF DOING THAT BUT THEY ARE WRONG. BECAUSE MY 2 YEARS CONTRACT EXPIRED IN 4 MONTHS AND IF THEY DON'T GET ME THE SAME DEAL THEY ARE OFFERING TO THEIR NEW CUSTOMER, I WILL BE LOOKING FOR THEIR COMPETITOR.  I MEAN THEY NEE DOT ADD IN THEIR DICTIONARY WHAT LOYAL CUSTOMERS MEANS OR LOOK INTO HOW TO KEEP YOUR CURRENT CUSTOMERS, I MEAN I MIGHT NOT EVEN CARE IF THEY STOP SENDING ME ALL THESE ADS ALMOST EVERYWEEK ABOUT ALL THESE GREAT DEALS NEW CUSTOMERS GET, I FEEL LIKE CHEATED....BY THE WAY, I HAVE BEEN WITH VERIZON FOR 6 YEARS NOW....AND I AM CERTAIN, I AM NOT THE ONLY ONE, IF YOU ARE CURRENT CUSTOMER LIKE ME YOU WILL CERTAINLY WILL AGREE IF YOU SEE WHAT THEY ARE OFFERING TO NEW CUSTOMER....YOU WILL FEEL LIKE BETRAYED.....

    agee66 wrote:
    ... Why treat long time loyal customers who want to re-up with Verizon worse than potential new customers?  Discounts should be for all customers, especially long time loyal ones
    If everyone gets the same low prices, all of the time, forever, then what exactly is your definition of "discount"?

Maybe you are looking for

  • Voice memos on ios7, it freezes after I try and save it

    Hey! I record all of my lectures on my iphone, but since I have updated to ios7 I am not able to do that. It records the lectures, but when I tap finished/save, it freezes up and the memo just is 00:00 even though I have been recording for 1 and a ha

  • Mac Mini won't boot loud fan.

    I left my office only to return to find that my Mac mini had turned off. I tried to turn it on, the light comes on, and the fan comes on (very loud). But that is it. I have had it less than a year with no trouble. Anyway I have tried resetting the PR

  • REEXACRCARRYFORWARD Accrual carry forward for RE-FX Module

    Hi, I have the RE-FX accruals engine set up and running successfully, however am uncertain what the transaction REEXACRCARRYFORWARD transaction does. I do note that in the SAP service market place SAP note 896879 makes mention that this transaction "

  • Urgent help : how when insert new record navigation off

    hi master Sir when i insert new record by mistake press down key and curser move to next record and my need is When I insert new record or change any record that time my form navigation musht be off and no move to next record how I restrict to naviga

  • Block File Attachment Upload for Gmail & Hotmail

    Hi, I need Block File Attachment Upload in the followings applications: Gmail and Hotmail. These appliacations use ports 80 and 443. Ironport has this option but only for "Access policies"  and I need apply also in the "Decryption policies" Access po