#569 Allow direct creation of dialog control windows.

ooDialog.4.2.3
accepted
Mark Miesfeld
ooDialog (102)
code+doc+test
1
2013-12-21
2013-12-21
Mark Miesfeld
No

Most resource editors support all the original Microsoft dialog controls. However newer controls like the toolbar and the status bar are not supported by any resource editor. Other controls like the rebar control are not well supported.

The resource compiler will correctly compile a resource script if the controls are manually added to the script. However, this requires some in-depth understanding of the resource script format.

C / C++ programmers typically add these controls to their dialogs using the CreateWindowEx() function. For ooDialog programmers it would be convenient if they could add these controls to their dialogs using methods with arguments they already understand.

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2013-12-21

    • status: open --> accepted
    • assigned_to: Mark Miesfeld
    • Pending work items: none --> code+doc+test
     
  • Mark Miesfeld
    Mark Miesfeld
    2013-12-21

    Committed revision 9742. [r9442]

    Basic implementation. Adds the CreateWindows mixin class. Can only be inherited by a dialog class. Contains methods, such as createStatusBarWindow(), that dynamically create a dialog control in the dialog.

    Note, the CreateWindows class can by inherited by any class, but the methods will only work if the class is a dialog class.

     

    Related

    Commit: [r9442]


Anonymous


Cancel   Add attachments