View previous topic :: View next topic |
Author |
Message |
acw
Joined: 04 Nov 2005 Posts: 165 Location: Darkest Devon
|
Posted: Wed Jul 05, 2006 11:53 am Post subject: Removing sysmenu from %di dialogs |
|
|
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 |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7928 Location: Salford, UK
|
Posted: Thu Jul 06, 2006 12:54 am Post subject: Removing sysmenu from %di dialogs |
|
|
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. |
|
Back to top |
|
|
|