Click here to Skip to main content
15,885,309 members

1 solution

The simplest way would be to create a new Window of the specified colour and opacity (alpha blend), and load it above your main window. Do this before calling DoModal and destroy it on return from the dialog.
 
Share this answer
 
Comments
Captain Price 22-Oct-13 21:26pm    
Nice trick. My 5 :)
Richard MacCutchan 23-Oct-13 3:00am    
Thanks, never tried it but it just occurred to me that it may be a way to do it.
WinAppy 23-Oct-13 3:34am    
I'll just give a try for this.
Thank you for your idea. :)

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