Click here to Skip to main content
15,904,652 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello, i want to do this but i can't find the way of blocking this action

i try the WM_COMMAND with MIN_ALL in lparam but windows doesn't even send the WM_COMMAND so is useless. how can i achieve this?

Thanks :sigh:
Posted
Comments
OriginalGriff 18-Oct-10 11:56am    
What do you mean "i try the WM_COMMAND with MIN_ALL in lparam but windows doesn't even send the WM_COMMAND so is useless."? What did you try?
Toli Cuturicu 18-Oct-10 12:29pm    
Don't do it!
If I were the end-user, I would have deleted your application at once. I can't stand such arrogant software.
manchukuo 18-Oct-10 12:34pm    
So Google desktop is arrogant?
manchukuo 18-Oct-10 12:35pm    
What i mean with the WM_COMMAND and MIN_ALL param is something i saw in a forum, they said that sending that message with that param will minimize all windows, so i thought that i could just process that message my self ansd prevent minimizing

1 solution

You can handle WM_SIZE and circumvent this, but I've got to tell you that users will find this incredibly annoying. You should NEVER mess with default system behavior.
 
Share this answer
 
Comments
manchukuo 18-Oct-10 12:35pm    
Nishant i am writing an appbar so that is why i need that functionality, i want to reproduce google desktop funcitionality, WM_SIZE gets called after the app was minimized.
Nish Nishant 18-Oct-10 12:37pm    
What about WM_SIZING?

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