Using our old friend the ScriptMenuBar.rex example, I made these changes

  dlg = .SimpleDialog~new("ScriptMenuBar.dll", IDD_SCRIPTMENUBAR_DLG)
...
::class 'SimpleDialog' subclass ResDialog

::method initDialog
  expose menuBar lv

  menuBar = .BinaryMenuBar~new("ScriptMenuBar.dll", IDR_MENU_LV)
  menuBar~attachTo(self)
  menuBar~connectAllCommandEvents

And the example program works exactly the same is it did as a RcDialog.

--
Mark Miesfedl
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to