Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
While Coding in some situation i required controls like CheckBox on messgbox window (Like "Dont Ask me this Again").. How can i achieve this ? Plz share your knowledge ..
Posted

The straightforward way is to design your own dialog box.
http://msdn.microsoft.com/en-us/library/aa983602(v=vs.71).aspx[^]
 
Share this answer
 
You could start with something like my article, Roll Your Own MsgBox[^], then customize it as you see fit.

If you need to save the value of the checkbox across multiple runs of the application, remember to persist it somewhere, such as the registry.
 
Share this answer
 

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