Click here to Skip to main content
15,909,829 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to share an object on the level of the OS? Pin
Paul M Watt16-Oct-02 22:01
mentorPaul M Watt16-Oct-02 22:01 
GeneralRe: How to share an object on the level of the OS? Pin
Raphael Kindt17-Oct-02 1:31
Raphael Kindt17-Oct-02 1:31 
Questionmore than one help file???? Pin
Mistermr16-Oct-02 21:03
Mistermr16-Oct-02 21:03 
AnswerRe: more than one help file???? Pin
Tomasz Sowinski16-Oct-02 23:33
Tomasz Sowinski16-Oct-02 23:33 
GeneralTrackMouseEvent little example Pin
Joan M16-Oct-02 20:20
professionalJoan M16-Oct-02 20:20 
GeneralRe: TrackMouseEvent little example Pin
Paul M Watt16-Oct-02 21:20
mentorPaul M Watt16-Oct-02 21:20 
GeneralRe: TrackMouseEvent little example Pin
James R. Twine17-Oct-02 5:34
James R. Twine17-Oct-02 5:34 
QuestionCImageList bug.....or am I just dumb? Pin
Teknofreek16-Oct-02 20:06
Teknofreek16-Oct-02 20:06 
Ok, I ran into this a while back and never solved it correctly. Now, I'm trying to draw images with transparency again and this problem is really eating away at me. No matter how hard I try, I can not seem to get a CImageList to draw correctly using a bitmap for the mask.

From what I've read in the MSDN help, it seems it'd be as easy as this:

CImageList tbImgList;
CBitmap tbBMP_Color;
CBitmap tbBMP_MASK;
POINT pt;

// Create the Image List
tbBMP_COLOR.LoadBitmap ( IDB_MYPICTURE_COLOR );
tbBMP_MASK.LoadBitmap ( IDB_MYPICTURE_ALPHA );
tbImgList.Create ( 64, 64, ILC_COLOR24 | ILC_MASK, 0, 0 );
tbImgList.Add ( &tbBMP_COLOR, &tbBMP_MASK );

// Draw the Image List at 0,0
pt.x = 0;
pt.y = 0;
tbImgList.Draw( &dc, 0, pt, ILD_TRANSPARENT );


But that doesn't work?! Am I missing something here or is this thing just plain broken?

Confused | :confused:

-John

"Ask me about my vow of silence"
AnswerRe: CImageList bug.....or am I just dumb? Pin
Tomasz Sowinski16-Oct-02 23:31
Tomasz Sowinski16-Oct-02 23:31 
GeneralRe: CImageList bug.....or am I just dumb? Pin
Teknofreek17-Oct-02 10:40
Teknofreek17-Oct-02 10:40 
QuestionHow to detect whether network is available? Pin
Wenrich16-Oct-02 18:36
Wenrich16-Oct-02 18:36 
Generalvectorize a bitmap Pin
bethbyang16-Oct-02 15:34
bethbyang16-Oct-02 15:34 
GeneralRe: vectorize a bitmap Pin
Maximilien16-Oct-02 15:57
Maximilien16-Oct-02 15:57 
GeneralRe: vectorize a bitmap Pin
Anonymous17-Oct-02 16:51
Anonymous17-Oct-02 16:51 
GeneralHeeeeeeeelp: CString and /clr Pin
Doug16-Oct-02 12:50
Doug16-Oct-02 12:50 
GeneralRe: Heeeeeeeelp: CString and /clr Pin
Nish Nishant16-Oct-02 19:24
sitebuilderNish Nishant16-Oct-02 19:24 
QuestionSHAutoComplete() where art thou? Pin
Ravi Bhavnani16-Oct-02 12:15
professionalRavi Bhavnani16-Oct-02 12:15 
AnswerRe: SHAutoComplete() where art thou? Pin
Rene De La Garza16-Oct-02 13:12
Rene De La Garza16-Oct-02 13:12 
AnswerRe: SHAutoComplete() where art thou? Pin
Michael Dunn16-Oct-02 18:40
sitebuilderMichael Dunn16-Oct-02 18:40 
AnswerRe: SHAutoComplete() where art thou? Pin
Ravi Bhavnani17-Oct-02 1:00
professionalRavi Bhavnani17-Oct-02 1:00 
GeneralInline functions performance. Pin
Maximilien16-Oct-02 10:47
Maximilien16-Oct-02 10:47 
GeneralRe: Inline functions performance. Pin
Joaquín M López Muñoz16-Oct-02 11:13
Joaquín M López Muñoz16-Oct-02 11:13 
GeneralRe: Inline functions performance. Pin
Marc Clifton16-Oct-02 11:28
mvaMarc Clifton16-Oct-02 11:28 
QuestionHeap Fragmentation? Pin
Member 1035854716-Oct-02 10:28
Member 1035854716-Oct-02 10:28 
AnswerRe: Heap Fragmentation? Pin
Pavel Klocek16-Oct-02 19:26
Pavel Klocek16-Oct-02 19:26 

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.