#250 ooDialog - retrieve control ID from window handle

v3.2.0
closed
Mark Miesfeld
5
2012-08-14
2007-10-07
Mark Miesfeld
No

ooDialog has a method to get the window handle of a dialog control using the resource ID of the control.

But sometimes you need to go the other way. You have a window handle and you want to know what control it is. It is convenient to be able to get the resource ID when the window handle is knonw.

The Windows API provides this functionality, there should be an ooDialog method to expose it.

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2007-10-07

    Logged In: YES
    user_id=191588
    Originator: YES

    Committed revision 881.

    Adds the getControlID method to the base dialog

    id = baseDialog~getControlID(hwnd)

     


Anonymous


Cancel   Add attachments