You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
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!
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...
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
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment