Skip navigation
Currently Being Moderated

Plug-in Window goes behind main window(CS5)

Feb 5, 2012 10:41 PM

Tags: #cs5 #window

hi all,

     I've been working on a plug in development for After Effects(CS5)..But i'm facing a problem now. The plug in window goes behind the After effects main window..So i would like to know the reason and solution for the problem..so could anybody help me out on this?

 

Cg soft

 
Replies
  • Currently Being Moderated
    Feb 6, 2012 11:48 PM   in reply to Cg soft

    hi cg soft.

    welcome to our little, quiet sea-side developers community. (where people are nice and the pharmacies are open late)

     

    i can't understand whether the problem you're describing is in regards to a custom made window (pop up), a palette plug-in, or the ECW.

    this is a long thread that deals with a lot of different issues, but also goes into details on creating os level windows:

    http://forums.adobe.com/message/3337511#3337511

     

    at the end if it you'll find this very useful video, courtesy of gutsblow:

    http://vimeo.com/17206258

    he shows how to create windows using cocoa.

     

    if you're not dealing with an os level window then... what exactly is the problem?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 28, 2012 5:39 PM   in reply to Cg soft

    I had this same problem.  Bruce Bullis provided an answer. 

     

    suites.UtilitySuite1()->AEGP_GetMainHWND(&mainWnd);

     

    Then use mainWnd as your parent window for your dialog and it will be in front of the main After Effects window. 

     

    It still might end up benind any open Options windows, but if you make your dialog big enough, it will peek out somewhere.  Then the user can click on it to bring it to the front. 

     

    I wish there was an API for the handle for the Options dialog window. 

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points