Hi*!
I am creating a TreeView Control at run time by using createwindow. I am want the TreeView to be drawn transparently so that i can show a bitmap that the main window contains. I am thinking of Doing something like
Please correct me if i am wrong. My problem is find the message that the control gets before it starts drwaing. I sraeched for something like WM_CTRLCLR** but there isn't anything for the treeview ctrl. I am using Win32 not MFC.PHP Code:SetBkMode(handleto_treeCtrl, TRANPARENT);
return /* creating an returning with a NULL brush to draw the background */;
Secondly if there is another way to draw TreeView Ctrl transparently plz DO tell me. I'll be oblighed.
Regards,
Usman.




Reply With Quote