THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/05/2004 at 08:52, xxxxxxxx wrote:
Cinema 4D Version: 8.500
Language(s) : C++ ;
I'd like to know how I can bring an async GeDialog to the top (of the window stack). The GeDialog seems to have methods to activate its components, but it doesn't have a method to show itself in front of every other window.
I'd use CDialog::BringWindowToTop() except CDialog is a C4D class and not the MFC thingie (and I don't want to link the MFC anyway...)
Why do I need it? I use a dual-screen layout, where the secondary screen is completely filled by a maximized custom-layout dialog window (containing the object tree, the materials, etc.). Now if I have a non-modal dialog that is floating free, and I click on the fullscreen dialog, then the other dialog disappears behind it and refuses to come to the top again (except manually, which isn't practical).
Where is that mysterious method that allows me to bring that hidden dialog to front by program, if needed?
Thanks in advance...
-- Cairyn --
On 25/05/2004 at 18:09, xxxxxxxx wrote:
Try just doing dlg.Open() again. That's what I do in my XLent Find plugin to bring it to focus.