Silverfrost Forums

Welcome to our forums

Removing sysmenu from %di dialogs

5 Jul 2006 10:53 #831

In a normal clearwin dialog I can use %sy or %ww with no_sysmenu to remove the system menu, in particular the close button on the far right of the title bar. When using a %di dialog with a resource file, %sy and %ww are not allowed, however even when I set the dialog resource to not include the sysmenu, I still get a close button when the dialog is displayed. The best I can do is prevent the dialog closing when the X is pressed.

Any ideas on how I might remove it ?

Thanks, Alan

5 Jul 2006 11:54 #835

Alan

It looks like WM_SYSMENU is added by ClearWin+ and I cannot think of a work-around for this.

As you will know, you can use %cc to control the closure after the X is pressed.

Please login to reply.