-
Marc Gregoire said,
-
In my example I have this device context called hDC which will be used in the call to UpdateLayeredWindow. This is just a 32bit device context, so RGB and A channels. If you want to add PNG based buttons, load the PNGs (maybe using CImage class) and then render those PNGs at the right position in the hDC. Store the coordinates of your PNG buttons somewhere so you can use the coordinates in your WM_MOUSEMOVE and mouse button messages. Once everything is rendered to hDC, call UpdateLayeredWindow. I think this should give you what you want.
-
Prabhat said,
-
Hi ,
I want to use Webbrowser control with transparent dialog. dilaog box should transparent but webbrowser control part should not transparent.
Thanks,
prabaht singh. -
Marc Gregoire said,
Try the above procedure. Create your bitmap and make sure the part where the webbrowser control should appear is not transparent;