Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Warnings C4663, C4018, C4100 Pin
Robert Valentino10-Dec-04 8:23
Robert Valentino10-Dec-04 8:23 
GeneralRe: Warnings C4663, C4018, C4100 Pin
Antti Keskinen10-Dec-04 9:41
Antti Keskinen10-Dec-04 9:41 
GeneralRe: Warnings C4663, C4018, C4100 Pin
bolivar12316-Dec-04 10:39
bolivar12316-Dec-04 10:39 
Generaldrawing to a bitmap in memory Pin
Member 151798010-Dec-04 4:14
Member 151798010-Dec-04 4:14 
GeneralRe: drawing to a bitmap in memory Pin
Andy Hunter10-Dec-04 10:42
Andy Hunter10-Dec-04 10:42 
Questiondoes OnCtlColor work for buttons? Pin
zoid ! 10-Dec-04 4:10
zoid ! 10-Dec-04 4:10 
AnswerRe: does OnCtlColor work for buttons? Pin
G. Steudtel10-Dec-04 6:40
G. Steudtel10-Dec-04 6:40 
GeneralRe: does OnCtlColor work for buttons? Pin
prcarp10-Dec-04 7:12
prcarp10-Dec-04 7:12 
Same here. I could only control the static text, group boxes, and dialog background colors. I just tried again right now and although I do return a brush handle for CTLCOLOR_BTN (and the trace statements I added confirm that), the buttons are drawn using system colors regardless.

I ended up creating a color button class (which I wanted to avoid like you) but turned out to be a good thing because I could then make them a bit fancier (e.g. gradient paint).
GeneralWindows Forms not available Pin
User 58261910-Dec-04 3:44
User 58261910-Dec-04 3:44 
GeneralRe: Windows Forms not available Pin
BlackDice10-Dec-04 9:50
BlackDice10-Dec-04 9:50 
GeneralScaleViewportExt and SetViewOrg related query Pin
JHAKAS10-Dec-04 3:40
JHAKAS10-Dec-04 3:40 
GeneralRe: ScaleViewportExt and SetViewOrg related query Pin
JHAKAS10-Dec-04 20:08
JHAKAS10-Dec-04 20:08 
GeneralSDI, MDI or dialog based Pin
help_cplus10-Dec-04 3:31
help_cplus10-Dec-04 3:31 
GeneralRe: SDI, MDI or dialog based Pin
Maximilien10-Dec-04 3:46
Maximilien10-Dec-04 3:46 
GeneralRe: SDI, MDI or dialog based Pin
help_cplus11-Dec-04 12:25
help_cplus11-Dec-04 12:25 
Generalreturning CMap object Pin
Tariq87810-Dec-04 1:55
Tariq87810-Dec-04 1:55 
GeneralRe: returning CMap object Pin
Antti Keskinen10-Dec-04 3:12
Antti Keskinen10-Dec-04 3:12 
GeneralRe: returning CMap object Pin
Cedric Moonen10-Dec-04 4:11
Cedric Moonen10-Dec-04 4:11 
GeneralRe: returning CMap object Pin
Antti Keskinen10-Dec-04 4:44
Antti Keskinen10-Dec-04 4:44 
GeneralRe: returning CMap object Pin
Cedric Moonen10-Dec-04 5:10
Cedric Moonen10-Dec-04 5:10 
GeneralCListCtrl Text Color Pin
Neelesh K J Jain10-Dec-04 1:19
Neelesh K J Jain10-Dec-04 1:19 
GeneralRe: CListCtrl Text Color Pin
Jim Crafton10-Dec-04 6:38
Jim Crafton10-Dec-04 6:38 
Generalserial com / usb Pin
doneirik10-Dec-04 1:16
doneirik10-Dec-04 1:16 
GeneralRe: serial com / usb Pin
Cedric Moonen10-Dec-04 1:27
Cedric Moonen10-Dec-04 1:27 
GeneralRe: serial com / usb Pin
doneirik10-Dec-04 3:10
doneirik10-Dec-04 3: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.