Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    How to bring a dialog to the top?

    SDK Help
    0
    2
    212
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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:

      User Information:
      Cinema 4D Version:   8.500 
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hi!

      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 --

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post