Click here to Skip to main content
15,915,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Copy CDC Pin
Santhosh G_1-Nov-12 1:38
Santhosh G_1-Nov-12 1:38 
GeneralRe: Copy CDC Pin
_Flaviu1-Nov-12 2:20
_Flaviu1-Nov-12 2:20 
QuestionStrange memory leak Pin
miniman0631-Oct-12 21:58
miniman0631-Oct-12 21:58 
AnswerRe: Strange memory leak Pin
Sivaraman Dhamodharan31-Oct-12 22:45
Sivaraman Dhamodharan31-Oct-12 22:45 
GeneralRe: Strange memory leak Pin
miniman0631-Oct-12 23:10
miniman0631-Oct-12 23:10 
AnswerRe: Strange memory leak Pin
Rolf Kristensen31-Oct-12 22:47
Rolf Kristensen31-Oct-12 22:47 
GeneralRe: Strange memory leak Pin
miniman0631-Oct-12 23:11
miniman0631-Oct-12 23:11 
AnswerRe: Strange memory leak Pin
Santhosh G_31-Oct-12 23:22
Santhosh G_31-Oct-12 23:22 
GeneralRe: Strange memory leak Pin
miniman0631-Oct-12 23:31
miniman0631-Oct-12 23:31 
AnswerRe: Strange memory leak Pin
Jochen Arndt31-Oct-12 23:35
professionalJochen Arndt31-Oct-12 23:35 
GeneralRe: Strange memory leak Pin
miniman061-Nov-12 0:09
miniman061-Nov-12 0:09 
GeneralRe: Strange memory leak Pin
Jochen Arndt1-Nov-12 0:29
professionalJochen Arndt1-Nov-12 0:29 
AnswerRe: Strange memory leak Pin
BCN-1631-Nov-12 16:01
BCN-1631-Nov-12 16:01 
Questionabout accessing PDF file, compile error. Pin
BCN-16331-Oct-12 15:18
BCN-16331-Oct-12 15:18 
AnswerRe: about accessing PDF file, compile error. Pin
Richard MacCutchan31-Oct-12 23:41
mveRichard MacCutchan31-Oct-12 23:41 
GeneralRe: about accessing PDF file, compile error. Pin
BCN-1631-Nov-12 15:56
BCN-1631-Nov-12 15:56 
GeneralRe: about accessing PDF file, compile error. Pin
Richard MacCutchan1-Nov-12 22:35
mveRichard MacCutchan1-Nov-12 22:35 
GeneralRe: about accessing PDF file, compile error. Pin
BCN-1634-Nov-12 13:39
BCN-1634-Nov-12 13:39 
QuestionHow correctly to check up availability of a XP theme? Pin
Eugene Pustovoyt31-Oct-12 2:10
Eugene Pustovoyt31-Oct-12 2:10 
I have recently spent some time getting some of my apps looking right on XP styles, by adding a manifest resource, and also modifying some controls that are custom-drawn.

However, if I use my xp-style-enabled controls in apps which do not have a manifest, and therefore draw using the old style, I find that my controls still draw with the current XP style. I have used IsAppThemed() as a way of determining how to draw my controls, but I have found that this returns TRUE even though the app is not XP-style-enabled, making the control look odd! I have tried using IsThemeActive but this also always returns TRUE.

Does anyone know how I can find out if the app is XP-styled (ie the other controls are using the XP-styles)?
Eugene Pustovoyt (ICQ UIN: 161325180)
Soft and Hard Developer

CPPMessageBox v1.0
CPPToolTip v2.1
CPPDumpCtrl v1.2
CPPHtmlStatic v1.2

AnswerRe: How correctly to check up availability of a XP theme? Pin
Jochen Arndt31-Oct-12 2:54
professionalJochen Arndt31-Oct-12 2:54 
GeneralRe: How correctly to check up availability of a XP theme? Pin
Eugene Pustovoyt31-Oct-12 4:12
Eugene Pustovoyt31-Oct-12 4:12 
QuestionWhat is the difference between following declarations ? Pin
PrafullaVedante30-Oct-12 22:52
PrafullaVedante30-Oct-12 22:52 
AnswerRe: What is the difference between following declarations ? Pin
Richard MacCutchan30-Oct-12 23:07
mveRichard MacCutchan30-Oct-12 23:07 
AnswerRe: What is the difference between following declarations ? Pin
Orjan Westin30-Oct-12 23:37
professionalOrjan Westin30-Oct-12 23:37 
GeneralRe: What is the difference between following declarations ? Pin
Stefan_Lang7-Nov-12 2:49
Stefan_Lang7-Nov-12 2:49 

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.