Is it possible to display Minimise without Maximise? Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
tuk1
Earned some good credits
Earned some good credits
Posts: 114
Joined: Sun Oct 08, 2017 9:36 am

Is it possible to display Minimise without Maximise?

Post by tuk1 »

I would like to have just Close and Minimise, but Maximise insists on appearing albeit disabled. Is there anyway to hide the Maximise button?

Code: Select all

#define SYMBOL_MAIN_FRAME_STYLE wxCAPTION|wxSYSTEM_MENU|wxMINIMIZE_BOX|wxCLOSE_BOX|wxFULL_REPAINT_ON_RESIZE
Capture.JPG
Capture.JPG (9.18 KiB) Viewed 689 times
wxWidgets(v3.2.2.1) - Vs2022(v143) - Win10(x64) - DialogBlocks(v5.16.5_Unicode)
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Is it possible to display Minimise without Maximise?

Post by doublemax »

That looks like a native Windows "feature". I don't think wx can do anything about it.
Use the source, Luke!
Post Reply