Click here to Skip to main content
15,890,186 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: single document application Pin
krmed21-Mar-06 10:11
krmed21-Mar-06 10:11 
GeneralRe: single document application Pin
fuschia21-Mar-06 16:09
fuschia21-Mar-06 16:09 
GeneralRe: single document application Pin
krmed22-Mar-06 0:23
krmed22-Mar-06 0:23 
QuestionRegarding DMA Pin
Girish Bhadhara21-Mar-06 6:36
Girish Bhadhara21-Mar-06 6:36 
AnswerRe: Regarding DMA Pin
#realJSOP21-Mar-06 7:30
mve#realJSOP21-Mar-06 7:30 
AnswerRe: Regarding DMA Pin
normanS21-Mar-06 18:19
normanS21-Mar-06 18:19 
Questionexporting Static library symbols linked with DLL Pin
Divick21-Mar-06 6:13
Divick21-Mar-06 6:13 
QuestionToolbar controls Pin
Waldermort21-Mar-06 4:48
Waldermort21-Mar-06 4:48 
Are there any limitations for using bitmaps on toolbar buttons?

On my main dialog window I have a toolbar with maybe 10 buttons, the bitmaps are loaded from a normal bitmap strip, each button 15x16, 4-bit color. This is displayed with no problems.

I have now added a toolbar to a child window, this time with bigger button (21x21), I have created it exactly the same way as the first. But the bitmaps are not being displayed correctly. White pixels are displayed as black, Black is displayed as gray, Green is transparent....

It's showing all the characteristics of picking the wrong color from the bitmaps color table. I first thought it was monochrome, but editing the bitmap proved me wrong. The only correctly displayed color is Blue, and I don't even want blue!!!

Any ideas????
AnswerRe: Toolbar controls Pin
Hamid_RT21-Mar-06 8:51
Hamid_RT21-Mar-06 8:51 
GeneralRe: Toolbar controls Pin
Waldermort21-Mar-06 9:08
Waldermort21-Mar-06 9:08 
GeneralRe: Toolbar controls Pin
Hamid_RT21-Mar-06 18:11
Hamid_RT21-Mar-06 18:11 
QuestionGet all windows of open documents in MDI app in MFC Pin
SanjaySMK21-Mar-06 4:22
SanjaySMK21-Mar-06 4:22 
AnswerRe: Get all windows of open documents in MDI app in MFC Pin
includeh1021-Mar-06 4:33
includeh1021-Mar-06 4:33 
QuestionCListCtrl - Selected Item Pin
RadioOpa21-Mar-06 3:31
RadioOpa21-Mar-06 3:31 
AnswerRe: CListCtrl - Selected Item Pin
includeh1021-Mar-06 4:37
includeh1021-Mar-06 4:37 
QuestionVS 2005 and WCE ... Pin
Hadi Rezaee21-Mar-06 1:42
Hadi Rezaee21-Mar-06 1:42 
QuestionHide my application from Task Manager Pin
Amarelia21-Mar-06 1:42
Amarelia21-Mar-06 1:42 
AnswerRe: Hide my application from Task Manager Pin
Rajesh R Subramanian21-Mar-06 4:19
professionalRajesh R Subramanian21-Mar-06 4:19 
QuestionList Applications in XP Pin
Gerhard200721-Mar-06 0:18
Gerhard200721-Mar-06 0:18 
AnswerRe: List Applications in XP Pin
Monty221-Mar-06 0:39
Monty221-Mar-06 0:39 
AnswerRe: List Applications in XP Pin
Nibu babu thomas21-Mar-06 0:50
Nibu babu thomas21-Mar-06 0:50 
GeneralRe: List Applications in XP Pin
Monty221-Mar-06 2:06
Monty221-Mar-06 2:06 
Questionedit listview control subitems using ATL/WTL Pin
mukri74320-Mar-06 23:52
mukri74320-Mar-06 23:52 
QuestionNo Filename and Linenumber in VS2003 CRT Debugmessage Pin
Mattens20-Mar-06 23:32
Mattens20-Mar-06 23:32 
AnswerRe: No Filename and Linenumber in VS2003 CRT Debugmessage Pin
toxcct20-Mar-06 23:37
toxcct20-Mar-06 23:37 

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.