Scott Turchin
Member
posted January 10, 1999 01:51 PM
Well I know this is pretty straight forward but in the Win32api.inc is the styles for the
dialog box and I did not want a maximize button on my project so here's my replacement:
%WS_OVRLPDWNDWNOMAX = %WS_OVERLAPPED OR %WS_CAPTION OR %WS_SYSMENU
OR %WS_THICKFRAME OR %WS_MINIMIZEBOX
This works ok SKELETON.BAS!
------------------
Announcement
Collapse
No announcement yet.
Graying Maximize button
Collapse
X
-
Guest replied
-
Guest repliedIn the Skeleton.BAS sample, the style is:
%WS_OVERLAPPEDWINDOW
This includes a maximize button.
------------------
Leave a comment:
-
The %WS_MAXIMIZEBOX style is used to create a dialog with a Maximize button. If you don't use that style, the button won't even appear, so there will be no need to gray it out...
-- Eric
------------------
Perfect Sync: Perfect Sync Development Tools
Email: mailto:[email protected][email protected]</A>
[This message has been edited by Eric Pearson (edited February 08, 2000).]
Leave a comment:
-
Graying Maximize button
Is there a way to "gray" out the maximize button? I can
make the button inoperative by removing "maximize" from
the system menu, but some users are bothered by having a
button that doesn't work!
Tags: None
Leave a comment: