Click here to Skip to main content
15,917,928 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Timer event in MFC Pin
suresh000917-Jan-07 8:20
suresh000917-Jan-07 8:20 
AnswerRe: Timer event in MFC Pin
suresh000917-Jan-07 8:28
suresh000917-Jan-07 8:28 
QuestionRe: Timer event in MFC Pin
CPallini17-Jan-07 8:15
mveCPallini17-Jan-07 8:15 
AnswerRe: Timer event in MFC Pin
suresh000917-Jan-07 8:26
suresh000917-Jan-07 8:26 
GeneralRe: Timer event in MFC Pin
Mark Salsbery17-Jan-07 8:42
Mark Salsbery17-Jan-07 8:42 
AnswerRe: Timer event in MFC Pin
#realJSOP17-Jan-07 11:36
professional#realJSOP17-Jan-07 11:36 
QuestionMy own List Control in MFC doesn't respons conrrectly to the keyboard Pin
Chibi Maruko S17-Jan-07 7:04
Chibi Maruko S17-Jan-07 7:04 
QuestionVS2005 MFC app and XP themes [modified] Pin
Ravi Bhavnani17-Jan-07 6:02
professionalRavi Bhavnani17-Jan-07 6:02 
I finally decided to move an ancient MFC app from VC6 to VS2005. I've had no problems building, but the app (which happens to be dialog based) doesn't seem to honor XP themes. The VC6 version (in which I'd inserted an XML manifest) honors themes and renders buttons correctly[^].

Under VS2005, I started by letting the project wizard generate a minimal dialog based app and selected "manifest support" with the default options. Yet, the app displays buttons like this[^]. I have the usual InitCommonControls() code in the app's InitInstance() but am unable to get it to render controls using the current theme.

I'm probably doing something stupid. A nudge in the right direction would be much appreciated.

Thanks,

/ravi

-- Modified at 13:53 Wednesday 17th January, 2007
Turns out my version of VS2005 is omitting the "Microsoft.Windows.Common-Controls" version="6.0.0.0" entry from the manifest. Manually injecting this into the embedded manifest fixed the problem.
-- End modification

This is your brain on Celcius
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com

AnswerRe: VS2005 MFC app and XP themes Pin
krmed17-Jan-07 9:48
krmed17-Jan-07 9:48 
GeneralRe: VS2005 MFC app and XP themes Pin
Ravi Bhavnani17-Jan-07 9:53
professionalRavi Bhavnani17-Jan-07 9:53 
QuestionNewbie - Memory sharing in COM Pin
jayart17-Jan-07 5:44
jayart17-Jan-07 5:44 
AnswerRe: Newbie - Memory sharing in COM Pin
led mike17-Jan-07 5:53
led mike17-Jan-07 5:53 
GeneralRe: Newbie - Memory sharing in COM Pin
jayart17-Jan-07 6:00
jayart17-Jan-07 6:00 
GeneralRe: Newbie - Memory sharing in COM Pin
led mike17-Jan-07 6:23
led mike17-Jan-07 6:23 
GeneralRe: Newbie - Memory sharing in COM Pin
jayart17-Jan-07 6:43
jayart17-Jan-07 6:43 
GeneralRe: Newbie - Memory sharing in COM Pin
led mike17-Jan-07 6:57
led mike17-Jan-07 6:57 
GeneralRe: Newbie - Memory sharing in COM Pin
jayart17-Jan-07 7:11
jayart17-Jan-07 7:11 
GeneralRe: Newbie - Memory sharing in COM Pin
Mark Salsbery17-Jan-07 8:48
Mark Salsbery17-Jan-07 8:48 
GeneralRe: Newbie - Memory sharing in COM Pin
led mike18-Jan-07 4:37
led mike18-Jan-07 4:37 
QuestionProblem loading DLL Pin
Eikthrynir17-Jan-07 5:44
Eikthrynir17-Jan-07 5:44 
QuestionRe: Problem loading DLL Pin
Mark Salsbery17-Jan-07 5:51
Mark Salsbery17-Jan-07 5:51 
AnswerRe: Problem loading DLL Pin
Eikthrynir17-Jan-07 5:56
Eikthrynir17-Jan-07 5:56 
GeneralRe: Problem loading DLL Pin
Mark Salsbery17-Jan-07 6:03
Mark Salsbery17-Jan-07 6:03 
AnswerRe: Problem loading DLL Pin
Eikthrynir17-Jan-07 5:59
Eikthrynir17-Jan-07 5:59 
GeneralRe: Problem loading DLL Pin
Mark Salsbery17-Jan-07 6:04
Mark Salsbery17-Jan-07 6:04 

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.