Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
theApp.m_pDlgProg->ModifyStyle(0, WS_MINIMIZEBOX, TRUE);


but ,if I press button to minimize dialog, dialog doesn't minimize

What I have tried:

I tried code that I've written..
Posted
Updated 8-Mar-22 0:09am

1 solution

If it is a modal dialog that is probably correct. A modal dialog makes the calling Window inactive until it is closed. So even if you minimize it there is nothing else you can do in the application.
 
Share this answer
 
Comments
Member 14594285 8-Mar-22 8:25am    
so I can't solve this problem? is there an other option?
Richard MacCutchan 8-Mar-22 11:05am    
An other option for what? You have not explained what actual problem you are trying to solve.
Member 14594285 8-Mar-22 11:11am    
I wanto to minimize my dialog
Richard MacCutchan 8-Mar-22 11:14am    
We already know that. But you have not explained why; that is, as I said above, what actual problem you are trying to solve.
Member 14594285 8-Mar-22 11:19am    
yes, you told me that it isn't pssible

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