Click here to Skip to main content
16,020,313 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All, i realized an ATL deskband based on a button
(like "Tablet PC input panel" of Windows 7)
but when shown it looks like a grey button.
I'd like to make it transparent (like the windows one)

here my code
C++
CWindow deskband;
deskband.Create( L"button", hwndParent, CWindow::rcDefault, L"deskband", WS_CHILD | BS_ICON );

HICON hIcon = reinterpret_cast<HICON> LoadImage(0, IDI_EXCLAMATION, IMAGE_ICON, 0, 0, LR_SHARED));
deskband.SendMessageW(BM_SETIMAGE, IMAGE_ICON, reinterpret_cast<LPARAM>(hIcon));

thanks
dario
Posted

1 solution

Try to start here[^] :)
 
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