Click here to Skip to main content
15,906,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionspying services containing socket communication Pin
mpk197912-Nov-06 18:50
mpk197912-Nov-06 18:50 
AnswerRe: spying services containing socket communication Pin
Blake Miller13-Nov-06 5:14
Blake Miller13-Nov-06 5:14 
QuestionQuestion about Link Error ? Pin
Sakthiu12-Nov-06 18:10
Sakthiu12-Nov-06 18:10 
AnswerRe: Question about Link Error ? Pin
George L. Jackson12-Nov-06 18:16
George L. Jackson12-Nov-06 18:16 
AnswerRe: Question about Link Error ? Pin
_AnsHUMAN_ 12-Nov-06 18:17
_AnsHUMAN_ 12-Nov-06 18:17 
QuestionRe: Question about Link Error ? Pin
David Crow13-Nov-06 3:44
David Crow13-Nov-06 3:44 
QuestionBitmaps Pin
BlitzPackage12-Nov-06 14:54
BlitzPackage12-Nov-06 14:54 
AnswerRe: Bitmaps Pin
Mike_V12-Nov-06 15:05
Mike_V12-Nov-06 15:05 
When you draw it to the screen, try using the TransparentBlt function. But that will make every white area in the image transparent, which may or may not be what you want. And on Win9x (or maybe just 98) the function has a gdi leak. A workaround is present, though, in the function's msdn article.

An alternative is to use an imagelist - create two bitmaps: one is your normal bitmap, the other is black everywhere you want the background to show through, white everywhere else. This is your mask bitmap. When you add the image to the imagelist (via ImageList_AddMasked off the top of my head) you can specify both handles.

A pain, yes, I know.

Mike
GeneralRe: Bitmaps Pin
BlitzPackage12-Nov-06 15:14
BlitzPackage12-Nov-06 15:14 
GeneralRe: Bitmaps Pin
Mike_V12-Nov-06 15:27
Mike_V12-Nov-06 15:27 
AnswerRe: Bitmaps Pin
Mark Salsbery12-Nov-06 15:07
Mark Salsbery12-Nov-06 15:07 
GeneralRe: Bitmaps Pin
BlitzPackage12-Nov-06 15:19
BlitzPackage12-Nov-06 15:19 
GeneralRe: Bitmaps Pin
Christian Graus12-Nov-06 15:28
protectorChristian Graus12-Nov-06 15:28 
GeneralRe: Bitmaps Pin
BlitzPackage12-Nov-06 15:41
BlitzPackage12-Nov-06 15:41 
GeneralRe: Bitmaps Pin
Christian Graus12-Nov-06 15:45
protectorChristian Graus12-Nov-06 15:45 
GeneralRe: Bitmaps Pin
BlitzPackage12-Nov-06 15:53
BlitzPackage12-Nov-06 15:53 
GeneralRe: Bitmaps Pin
Christian Graus12-Nov-06 16:01
protectorChristian Graus12-Nov-06 16:01 
GeneralRe: Bitmaps Pin
BlitzPackage12-Nov-06 16:04
BlitzPackage12-Nov-06 16:04 
GeneralRe: Bitmaps Pin
Christian Graus12-Nov-06 16:30
protectorChristian Graus12-Nov-06 16:30 
GeneralRe: Bitmaps Pin
Mark Salsbery13-Nov-06 6:00
Mark Salsbery13-Nov-06 6:00 
GeneralRe: Bitmaps Pin
BlitzPackage13-Nov-06 8:14
BlitzPackage13-Nov-06 8:14 
GeneralRe: Bitmaps Pin
Mark Salsbery13-Nov-06 8:29
Mark Salsbery13-Nov-06 8:29 
GeneralRe: Bitmaps Pin
Mark Salsbery13-Nov-06 8:33
Mark Salsbery13-Nov-06 8:33 
GeneralRe: Bitmaps Pin
BlitzPackage13-Nov-06 8:45
BlitzPackage13-Nov-06 8:45 
GeneralRe: Bitmaps Pin
Mark Salsbery13-Nov-06 9:10
Mark Salsbery13-Nov-06 9:10 

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.