How to remove the maximize button...
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
How to remove the maximize button, minimize button and the title bar of a window from a specified window? Thanks.
Remove WS_MINIMIZE, WS_CAPTION styles Zolee
-
Remove WS_MINIMIZE, WS_CAPTION styles Zolee
Thanks for your reply. But I still have a question. Here is my source codes in a dialog based program, but it does not work. void CTestStyleDlg::OnLButtonDown(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default this->ModifyStyle(WS_MINIMIZE,0); CDialog::OnLButtonDown(nFlags, point); } I have already added the minimized button to the window before running the program. But nothing happens when clicking the left button of the mouse. How to resolve the trouble? Thanks again. Maer