Click here to Skip to main content
15,917,862 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How Locate the error when meet the leak? Pin
Chris Losinger10-Nov-02 5:21
professionalChris Losinger10-Nov-02 5:21 
GeneralRe: How Locate the error when meet the leak? Pin
ian mariano10-Nov-02 20:40
ian mariano10-Nov-02 20:40 
AnswerRe: How Locate the error when meet the leak? Pin
Chris Losinger10-Nov-02 5:21
professionalChris Losinger10-Nov-02 5:21 
GeneralRe: How Locate the error when meet the leak? Pin
liuty200610-Nov-02 5:40
liuty200610-Nov-02 5:40 
AnswerRe: How Locate the error when meet the leak? Pin
Maximilien10-Nov-02 7:10
Maximilien10-Nov-02 7:10 
AnswerRe: How Locate the error when meet the leak? Pin
ian mariano10-Nov-02 20:42
ian mariano10-Nov-02 20:42 
GeneralLoading Bitmaps transparent Pin
georgiek5010-Nov-02 4:38
georgiek5010-Nov-02 4:38 
GeneralRe: Loading Bitmaps transparent Pin
Dimitri Rochette10-Nov-02 5:03
Dimitri Rochette10-Nov-02 5:03 
if your talking about LR_LOADTRANSPARENT here is perhaps the answer.
First of all LR_LOADTRANSPARENT does not load transparent image. it replace the first color by COLOR_WINDOW. COLOR_WINDOW is the backgroud color of edit,combobox... by defaut it's white. To change this color by another, you need to replace this color in your window theme.
The second problem is that LR_LOADTRANSPARENT works only with 8bpp images.

The easyest way to use real transparent images is to use CommonControls ImageList.
If you only want to replace one backgroud color by another CommonControls CreateMappedBitmap is perhaps a best solution.

Dimitri Rochette
Generalfile related application Pin
includeh1010-Nov-02 4:16
includeh1010-Nov-02 4:16 
GeneralRe: file related application Pin
User 665810-Nov-02 4:37
User 665810-Nov-02 4:37 
GeneralRe: file related application Pin
includeh1010-Nov-02 4:51
includeh1010-Nov-02 4:51 
GeneralRe: file related application Pin
Scott H. Settlemier11-Nov-02 5:07
Scott H. Settlemier11-Nov-02 5:07 
Questionhow can i add system icon Pin
xipeng10-Nov-02 2:37
xipeng10-Nov-02 2:37 
AnswerRe: how can i add system icon Pin
georgiek5010-Nov-02 2:43
georgiek5010-Nov-02 2:43 
AnswerRe: how can i add system icon Pin
xipeng10-Nov-02 3:03
xipeng10-Nov-02 3:03 
QuestionWhere can I get network programming sample codes? Pin
George210-Nov-02 1:17
George210-Nov-02 1:17 
AnswerRe: Where can I get network programming sample codes? Pin
georgiek5010-Nov-02 4:40
georgiek5010-Nov-02 4:40 
GeneralRe: Where can I get network programming sample codes? Pin
George210-Nov-02 19:35
George210-Nov-02 19:35 
AnswerRe: Where can I get network programming sample codes? Pin
valikac10-Nov-02 5:32
valikac10-Nov-02 5:32 
GeneralRe: Where can I get network programming sample codes? Pin
George210-Nov-02 19:37
George210-Nov-02 19:37 
Generaldebug exit codes Pin
Steve L.9-Nov-02 23:23
Steve L.9-Nov-02 23:23 
GeneralAccelerators in a Dialog Application (non-MFC) Pin
cleathley9-Nov-02 21:24
cleathley9-Nov-02 21:24 
GeneralRe: Accelerators in a Dialog Application (non-MFC) Pin
georgiek5010-Nov-02 2:40
georgiek5010-Nov-02 2:40 
GeneralDLL problem Pin
Anatari9-Nov-02 18:11
Anatari9-Nov-02 18:11 
GeneralRe: DLL problem Pin
moliate9-Nov-02 20:46
moliate9-Nov-02 20:46 

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.