Click here to Skip to main content
15,742,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wrote:

but in this way I disable button but I want to remove it

What I have tried:

I searched in internet but I can't find it
Updated 17-Oct-19 6:05am
Richard MacCutchan 17-Oct-19 11:42am    
See below.

Try this:

Share this answer
Member 14594285 17-Oct-19 11:17am    
it doesn't work
The WS_MAXIMIZEBOX is part of the system menu (WS_SYSMENU style) so it cannot be removed completely without removing WS_SYSMENU. However that also removes the minimise and close boxes, and the Window icon. Take a look at Window Styles - Windows applications | Microsoft Docs[^] to see which items go together.
Share this answer
I solved, with border dialog frame
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900