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

C / C++ / MFC

 
GeneralCompilation Errors C2143 & C2059 Pin
jignatiu10-May-05 1:46
jignatiu10-May-05 1:46 
GeneralRe: Compilation Errors C2143 & C2059 Pin
RChin10-May-05 1:52
RChin10-May-05 1:52 
GeneralRe: Compilation Errors C2143 & C2059 Pin
jignatiu10-May-05 1:56
jignatiu10-May-05 1:56 
GeneralRe: Compilation Errors C2143 & C2059 Pin
David Crow10-May-05 2:50
David Crow10-May-05 2:50 
GeneralRe: Compilation Errors C2143 & C2059 Pin
Maximilien10-May-05 1:55
Maximilien10-May-05 1:55 
GeneralRe: Compilation Errors C2143 & C2059 Pin
jignatiu10-May-05 2:00
jignatiu10-May-05 2:00 
GeneralXP Buttons on non grey backgrounds Pin
Jörgen Sigvardsson10-May-05 1:44
Jörgen Sigvardsson10-May-05 1:44 
GeneralRe: XP Buttons on non grey backgrounds Pin
James R. Twine10-May-05 1:53
James R. Twine10-May-05 1:53 
   When dealing with most things custom drawn (custom drawn controls) I have found that XP Themes often fight me all of the way.  I would suggest disabling themes for that application (maybe SetThemeAppProperties?).

   Modifying the painting of most button controls often requires that it be done as an ownerdrawn button, returning brush information from WM_CTLCOLORBTN is often not enough.  You might have to resort to getting the theme information and using GetThemeColor(...) to paint them ownerdraw style.

   Peace!

-=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites
(Please rate this post!)
GeneralRe: XP Buttons on non grey backgrounds Pin
Jörgen Sigvardsson10-May-05 2:01
Jörgen Sigvardsson10-May-05 2:01 
GeneralRe: XP Buttons on non grey backgrounds Pin
RChin10-May-05 1:56
RChin10-May-05 1:56 
GeneralRe: XP Buttons on non grey backgrounds Pin
Jörgen Sigvardsson10-May-05 1:58
Jörgen Sigvardsson10-May-05 1:58 
GeneralRe: XP Buttons on non grey backgrounds Pin
khan++10-May-05 2:27
khan++10-May-05 2:27 
GeneralRe: XP Buttons on non grey backgrounds Pin
Jörgen Sigvardsson10-May-05 2:49
Jörgen Sigvardsson10-May-05 2:49 
GeneralRe: XP Buttons on non grey backgrounds Pin
Jörgen Sigvardsson10-May-05 3:06
Jörgen Sigvardsson10-May-05 3:06 
Generalrecv problem Pin
srev10-May-05 1:26
srev10-May-05 1:26 
GeneralVirtual function problem! Pin
Bob Stanneveld10-May-05 0:11
Bob Stanneveld10-May-05 0:11 
GeneralRe: Virtual function problem! Pin
Cedric Moonen10-May-05 0:28
Cedric Moonen10-May-05 0:28 
GeneralRe: Virtual function problem! Pin
Bob Stanneveld10-May-05 1:09
Bob Stanneveld10-May-05 1:09 
GeneralRe: Virtual function problem! Pin
Cedric Moonen10-May-05 1:34
Cedric Moonen10-May-05 1:34 
GeneralRe: Virtual function problem! Pin
S. Senthil Kumar10-May-05 1:43
S. Senthil Kumar10-May-05 1:43 
GeneralRe: Virtual function problem! Pin
Cedric Moonen10-May-05 2:01
Cedric Moonen10-May-05 2:01 
GeneralRe: Virtual function problem! Pin
S. Senthil Kumar10-May-05 2:14
S. Senthil Kumar10-May-05 2:14 
GeneralRe: Virtual function problem! Pin
Tim Smith12-May-05 4:01
Tim Smith12-May-05 4:01 
GeneralRe: Virtual function problem! Pin
S. Senthil Kumar10-May-05 1:10
S. Senthil Kumar10-May-05 1:10 
GeneralRe: Virtual function problem! Pin
Bob Stanneveld10-May-05 1:14
Bob Stanneveld10-May-05 1:14 

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.