Click here to Skip to main content
15,914,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
For MB_YESNO style, close icon is disabled but I want to enable it. Is there any way to do it for this style?.

But, if I use MB_OKCANCEL, close icon is enabled.
Posted

1 solution

Then try using MB_YESNOCANCEL
 
Share this answer
 
Comments
bunathangaraj 7-Mar-11 6:57am    
Hi Thanks. I have tried it is enabling but cancel button is also added I don't want that. Either I want to enable close icon or to hide the close icon, I don't want in disabled state. Could you help with this?

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