On Sat, Feb 23, 2013 at 10:03 AM, Oliver Sims <oliver.sims@simsassociates.co.uk> wrote:
My previous email was sent just before I received yours. Your email further clarified a number of things - many thanks.
Btw, I tried adding a menu to the PropertySheetDemo. The menu appears and can be pulled down and selected:
::class 'PropertySheetDemoDlg' subclass PropertySheetDialog
  ::method initDialog
    menuBar = .ScriptMenuBar~new("rc\PropertySheetDemo.rc", IDR_MENU1, , , .true)
  ::method thing unguarded
    say "'Thing' Menu Item selected."
But is seems that no events are fired - the "say" was not executed ("Thing" is a menu item). 

PropertySheetDialog dialogs are unlike any other dialog in ooDialog.  The underlying Windows property sheet dialog is managed completely by the Operating System.  In all other ooDialog dialogs the underlying Windows dialogs are managed completely by the ooDialog framework.

With a PropertySheetDialog, event notifications are sent to the underlying Windows property sheet dialog.  Since the underlying Windows dialog is managed by the operating system, not by the ooDialog framework, the framework knows nothing about the notifications.  This is a restriction that would be difficult to overcome.  

If you must have a menu, then using ControlDialog dialogs as the pages for a tab control in a regular ooDialog dialog is probably the way to go.

Mark Miesfeld