ive been loking everywhere howto make semi transparent dialog but i was unable to find. could you please be so kind and give me a small example program?
(http://img14.imageshack.us/img14/791/semitransparentwindow.jpg)
thanks
there are a few others in the examples folder, too
and - if you use the forum search tool, i am sure there are more
but - i kinda like this one by Bill....
C:\masm32\examples\bcraven\calender
http://win32assembly.online.fr/files/laywin.zip
It's called a "layered window", which might help when you search
thanks redskull! puff puff pass =D
invoke GetWindowLong, hwndDlg, GWL_EXSTYLE
or eax, WS_EX_LAYERED
invoke SetWindowLong, hwndDlg, GWL_EXSTYLE, eax
invoke SetLayeredWindowAttributes, hwndDlg, NULL, 230, LWA_ALPHA
230 is the alpha in this case value. Put that code in your WM_INITDIALOG
Quote from: caseys on January 03, 2011, 03:24:25 PM
thanks redskull! puff puff pass =D
when i was young, it was puff puff puff puff puff puff, THEN pass :bg
dedndave, you never too old =D
Slugsnack, its not working =/
Quote from: dedndave on January 03, 2011, 03:27:10 PM
when i was young, it was puff puff puff puff puff puff, THEN pass :bg
but when he was young, they were doing it in chinese opium dens. :bg
Slugsnack, on a different application it works ill try to solve this out! thanks - it didnt worked becouse of windowanimation =] now its fine! great code. thanks