Click here to Skip to main content
16,013,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC 5 vs VC 6 Differences Pin
Chris Losinger14-Feb-01 10:34
professionalChris Losinger14-Feb-01 10:34 
GeneralRe: VC 5 vs VC 6 Differences Pin
Erik Funkenbusch14-Feb-01 13:25
Erik Funkenbusch14-Feb-01 13:25 
GeneralGetting colored words from IDE Pin
14-Feb-01 7:30
suss14-Feb-01 7:30 
GeneralRe: Getting colored words from IDE Pin
l a u r e n14-Feb-01 7:41
l a u r e n14-Feb-01 7:41 
GeneralRe: Getting colored words from IDE Pin
14-Feb-01 9:28
suss14-Feb-01 9:28 
GeneralRe: Getting colored words from IDE Pin
Erik Funkenbusch14-Feb-01 13:32
Erik Funkenbusch14-Feb-01 13:32 
Generaldumb question... Pin
l a u r e n14-Feb-01 7:27
l a u r e n14-Feb-01 7:27 
GeneralRe: dumb question... Pin
Daniel Ferguson14-Feb-01 7:45
Daniel Ferguson14-Feb-01 7:45 
You use LR_LOADMAP3DCOLORS when you load the bitmap (this means you have
to load it youself). This will replace all of the system colours
in the bitmap with the corresponding ones the user has selected in display
properties. You may want to catch the sys colour change message and
re-load your bitmap as well. Personally, I judge an app harshly if the
UI is sloppy -- I figure the code I can't see is probably sloppy as well Wink | ;) .

HBITMAP hBmp = (HBITMAP)::LoadImage( AfxGetInstanceHandle(), 
			lpszResourceName, IMAGE_BITMAP, 0,0, LR_LOADMAP3DCOLORS );


HTH

Daniel
GeneralRe: dumb question... Pin
14-Feb-01 10:35
suss14-Feb-01 10:35 
GeneralStatic link of MFC Pin
14-Feb-01 7:20
suss14-Feb-01 7:20 
GeneralRe: Static link of MFC Pin
l a u r e n14-Feb-01 7:37
l a u r e n14-Feb-01 7:37 
GeneralRe: MFC42D Pin
Chris Losinger14-Feb-01 8:00
professionalChris Losinger14-Feb-01 8:00 
GeneralRe: Static link of MFC Pin
Chris Meech14-Feb-01 10:06
Chris Meech14-Feb-01 10:06 
QuestionCan I replace the defaut MFC icon? Pin
14-Feb-01 6:39
suss14-Feb-01 6:39 
AnswerRe: Can I replace the defaut MFC icon? Pin
l a u r e n14-Feb-01 6:45
l a u r e n14-Feb-01 6:45 
GeneralRe: Can I replace the defaut MFC icon? Pin
14-Feb-01 10:26
suss14-Feb-01 10:26 
GeneralSetTitle Pin
14-Feb-01 6:23
suss14-Feb-01 6:23 
GeneralRe: SetTitle Pin
l a u r e n14-Feb-01 6:39
l a u r e n14-Feb-01 6:39 
GeneralSetTitle Pin
14-Feb-01 6:22
suss14-Feb-01 6:22 
QuestionDetecting mouse clicks outside dialog area? Pin
14-Feb-01 6:04
suss14-Feb-01 6:04 
AnswerRe: Detecting mouse clicks outside dialog area? Pin
l a u r e n14-Feb-01 6:42
l a u r e n14-Feb-01 6:42 
GeneralIPC shared memory Pin
14-Feb-01 5:22
suss14-Feb-01 5:22 
GeneralRe: IPC shared memory Pin
.::RockNix::.15-Feb-01 1:03
.::RockNix::.15-Feb-01 1:03 
GeneralResources and user defined build Pin
14-Feb-01 4:57
suss14-Feb-01 4:57 
GeneralInternationalize String Tables Pin
14-Feb-01 4:16
suss14-Feb-01 4: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.