Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
>>It would certainly help if you'd check return codes from Create and Add.<<

Ahh yes, I should've checked those. Create returns 1 for success, which is expected. Oddly enough however, Add returns -1 no matter what I do, even though it seems to succeed. According to MSDN it should be returning the zero-based index of the first new image if successful...odd.

>>And, you could be more specific about "doesn't work" part - there's nothing on the screen or you have problem with transparency.<<

Ah, right. Sorry about that. Yeah, they were drawing fine, just not using any transparency.

Well anyway, I was finally able to get it to work.....or at least kind of. As it turns out, I had mistaken what exactly a mask bitmap means. I thought that it meant it allowed for a nice 256 levels of alpha transparency masking. Instead, it appears to really work as an on/off mask. Apparently the transparent areas in my mask bitmaps were something like 253, 253, 253 and thus it saw them as opaque. It looks like 255,255,255 is transparent and anything else is opaque.

Unfortunately, that's not what I was after. Does anyone happen to know of a nice(and efficient!) way to do true variable transparency drawing?



-John

"Ask me about my vow of silence"
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 
AnswerRe: Heap Fragmentation? Pin
Tomasz Sowinski16-Oct-02 23:40
Tomasz Sowinski16-Oct-02 23:40 
GeneralCallback and Assembly Pin
S van Leent16-Oct-02 10:16
S van Leent16-Oct-02 10:16 

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.