Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#189 Add ability to set foreground window to ooDialog

v3.2.0
closed
Mark Miesfeld
5
2012-08-14
2007-06-12
Mark Miesfeld
No

An ooDialog dialog has the ability to set itself as the foreground window, bringing itself to the 'top.'

This ability should be extended to allow setting any window as the foreground. This would be most useful to ooDialog applications that made use of several non-modal dialogs at once.

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2007-06-12

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 464.

    Added:
    SetForegroundWindow method to the WindowsExtensions class.
    This takes the handle to any top level window and sets it to be the foreground window. It returns the handle of the previous foreground window on success, or 0 on error.

    SetFocusToWindow method to the DialogControl class.
    This takes the handle to any top level window and sets it to be the foreground window. It returns the handle of the window control that previously had the focus on success, or 0 on error.

    SetFocusToWindow method to the DialogExtensions class.
    This takes the handle to any top level window and sets it to be the foreground window. It returns the handle of the window control that previously had the focus on success, or 0 on error.

     
  • Mark Miesfeld
    Mark Miesfeld
    2007-06-19

    Logged In: YES
    user_id=191588
    Originator: YES

    The ooDialog documentation has been updated for this RFE with svn revision 476.

     


Anonymous


Cancel   Add attachments