Click here to Skip to main content
15,913,854 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionChanging the Classid for every rebuild. Pin
Eytukan12-Oct-06 3:09
Eytukan12-Oct-06 3:09 
AnswerRe: Changing the Classid for every rebuild. Pin
Mike Dimmick12-Oct-06 23:50
Mike Dimmick12-Oct-06 23:50 
GeneralRe: Changing the Classid for every rebuild. Pin
Eytukan12-Oct-06 23:58
Eytukan12-Oct-06 23:58 
QuestionListView problem Pin
invinJerry10-Oct-06 17:59
invinJerry10-Oct-06 17:59 
AnswerRe: ListView problem Pin
Jörgen Sigvardsson18-Oct-06 11:28
Jörgen Sigvardsson18-Oct-06 11:28 
QuestionHow can I get selected URL by right-clicked a hyperlink in Pocket IE? [modified] Pin
mobileconst9-Oct-06 23:33
mobileconst9-Oct-06 23:33 
Questionbackground drawing Pin
invinJerry9-Oct-06 19:22
invinJerry9-Oct-06 19:22 
QuestionHICON problem Pin
HakunaMatada9-Oct-06 1:03
HakunaMatada9-Oct-06 1:03 
I use the following code to draw an icon on the Window.

HICON hIcon = (HICON)::LoadImage(_Module.GetResourceInstance(), MAKEINTRESOURCE(IDI_HELP), IMAGE_ICON, m_nButtonWidth, m_nButtonHeight , LR_DEFAULTCOLOR);
<br />
::DrawIconEx(hDC, 2, 2, hIcon, m_nButtonWidth, m_nButtonHeight, 0, NULL, DI_NORMAL);


This draws the icon on the Window. But my problem is that my window has a gradient background and my icon has a white background so when I draw the icon, the square shape of the icon with the white background is visible. I want to make the white portion of the icon transparent so that my Window background is visible. How do I do it?

---
Beer | [beer] Hakuna-Matada Beer | [beer]
It means no worries for the rest of your days...
It's our problem free, Philosophy

Jig | [Dance]

AnswerRe: HICON problem Pin
Steve Echols9-Oct-06 19:52
Steve Echols9-Oct-06 19:52 
GeneralRe: HICON problem Pin
HakunaMatada9-Oct-06 21:13
HakunaMatada9-Oct-06 21:13 
AnswerRe: HICON problem Pin
invinJerry9-Oct-06 22:42
invinJerry9-Oct-06 22:42 
QuestionATL COM Exe program Pin
Sakthiu8-Oct-06 18:43
Sakthiu8-Oct-06 18:43 
AnswerRe: ATL COM Exe program Pin
FouziaSham15-Oct-06 21:34
FouziaSham15-Oct-06 21:34 
QuestionBug in CComBSTR::ToLower and ::ToUpper ??? Pin
Blake Miller6-Oct-06 8:28
Blake Miller6-Oct-06 8:28 
AnswerRe: Bug in CComBSTR::ToLower and ::ToUpper ??? Pin
prasad_som17-Oct-06 19:10
prasad_som17-Oct-06 19:10 
GeneralRe: Bug in CComBSTR::ToLower and ::ToUpper ??? Pin
Blake Miller18-Oct-06 4:11
Blake Miller18-Oct-06 4:11 
GeneralRe: Bug in CComBSTR::ToLower and ::ToUpper ??? Pin
prasad_som18-Oct-06 4:23
prasad_som18-Oct-06 4:23 
Questionnew to stl..please help Pin
eusto5-Oct-06 23:51
eusto5-Oct-06 23:51 
AnswerRe: new to stl..please help Pin
led mike6-Oct-06 4:51
led mike6-Oct-06 4:51 
AnswerRe: new to stl..please help Pin
Roger Stoltz6-Oct-06 5:02
Roger Stoltz6-Oct-06 5:02 
AnswerRe: new to stl..please help Pin
Rob Caldecott6-Oct-06 5:03
Rob Caldecott6-Oct-06 5:03 
GeneralRe: new to stl..please help Pin
George L. Jackson6-Oct-06 11:26
George L. Jackson6-Oct-06 11:26 
GeneralRe: new to stl..please help Pin
Anonymuos10-Oct-06 5:26
Anonymuos10-Oct-06 5:26 
GeneralRe: new to stl..please help Pin
Kevin McFarlane10-Oct-06 5:53
Kevin McFarlane10-Oct-06 5:53 
GeneralRe: new to stl..please help Pin
eusto12-Oct-06 9:02
eusto12-Oct-06 9:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.