Click here to Skip to main content
15,914,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Compiling Win32 detours library using VC++ 2005 Express Pin
Mark Salsbery17-Jun-07 17:03
Mark Salsbery17-Jun-07 17:03 
GeneralRe: Compiling Win32 detours library using VC++ 2005 Express Pin
tmp018-Jun-07 0:45
tmp018-Jun-07 0:45 
GeneralRe: Compiling Win32 detours library using VC++ 2005 Express Pin
Mark Salsbery18-Jun-07 4:52
Mark Salsbery18-Jun-07 4:52 
QuestionISampleGrabber and ActiveMovie Window Problem Pin
Akin Ocal17-Jun-07 13:05
Akin Ocal17-Jun-07 13:05 
QuestionConnecting to FTP site Pin
frqftgbdafr17-Jun-07 8:59
frqftgbdafr17-Jun-07 8:59 
AnswerRe: Connecting to FTP site Pin
Mark Salsbery17-Jun-07 9:05
Mark Salsbery17-Jun-07 9:05 
QuestionHow to do transparent color in the CBitmapButton? [modified] Pin
Romiks17-Jun-07 7:21
Romiks17-Jun-07 7:21 
AnswerRe: How to do transparent color in the CBitmapButton? Pin
Mark Salsbery17-Jun-07 9:15
Mark Salsbery17-Jun-07 9:15 
AFAIK, CBitmapButton doesn't support transparent colors.

You could derive a class from CBitmapButton, override the DrawItem() method, and draw the bitmaps
yourself using transparency, perhaps with GDI+ or masked bitmaps. CBitmapButton uses BitBlt()
to draw the bitmaps.

An easier (IMO) approach would be to use a toolbar control. There you can use image list(s)
which will handle transparency and true-color bitmaps easily.

Mark



"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

QuestionSome video effects on directshow Pin
Akin Ocal17-Jun-07 3:08
Akin Ocal17-Jun-07 3:08 
QuestionEditing/Changing Default Command Handlers Pin
Abhijeet Pathak17-Jun-07 1:57
Abhijeet Pathak17-Jun-07 1:57 
Questiondouble buffering issue... Pin
eli1502197917-Jun-07 1:32
eli1502197917-Jun-07 1:32 
GeneralRe: double buffering issue... Pin
Matthew Faithfull17-Jun-07 2:38
Matthew Faithfull17-Jun-07 2:38 
AnswerRe: double buffering issue... [modified] Pin
Mark Salsbery17-Jun-07 15:43
Mark Salsbery17-Jun-07 15:43 
GeneralRe: double buffering issue... Pin
eli1502197917-Jun-07 23:11
eli1502197917-Jun-07 23:11 
GeneralRe: double buffering issue... Pin
eli1502197918-Jun-07 23:09
eli1502197918-Jun-07 23:09 
GeneralRe: double buffering issue... Pin
Mark Salsbery19-Jun-07 6:21
Mark Salsbery19-Jun-07 6:21 
GeneralRe: double buffering issue... Pin
eli1502197919-Jun-07 19:07
eli1502197919-Jun-07 19:07 
GeneralRe: double buffering issue... Pin
Mark Salsbery19-Jun-07 20:11
Mark Salsbery19-Jun-07 20:11 
GeneralRe: double buffering issue... Pin
eli1502197920-Jun-07 1:05
eli1502197920-Jun-07 1:05 
QuestionHow to change display properties of a computer through code? Pin
Sameer_Thakur17-Jun-07 0:18
Sameer_Thakur17-Jun-07 0:18 
AnswerRe: How to change display properties of a computer through code? Pin
Hans Ruck17-Jun-07 20:22
Hans Ruck17-Jun-07 20:22 
GeneralRe: How to change display properties of a computer through code? Pin
Sameer_Thakur18-Jun-07 1:09
Sameer_Thakur18-Jun-07 1:09 
Questionsend number to speaker Pin
SYS-MAN16-Jun-07 22:17
SYS-MAN16-Jun-07 22:17 
AnswerRe: send number to speaker Pin
azonenberg17-Jun-07 7:54
azonenberg17-Jun-07 7:54 
QuestionThreads and mutexes Pin
Cyrilix16-Jun-07 21:43
Cyrilix16-Jun-07 21:43 

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.