Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Reading Explorer.exe Address Bar work with 2K/XP but not Vista Pin
Hirakawa31-Jul-07 6:38
Hirakawa31-Jul-07 6:38 
QuestionFinding and comparing an image! Pin
ksjetski30-Jul-07 17:47
ksjetski30-Jul-07 17:47 
AnswerRe: Finding and comparing an image! Pin
Abdellatif_El_Khlifi13-Aug-07 15:59
Abdellatif_El_Khlifi13-Aug-07 15:59 
QuestionDisable and grey out menu item Pin
Johpoke30-Jul-07 11:28
Johpoke30-Jul-07 11:28 
AnswerRe: Disable and grey out menu item Pin
Michael Dunn30-Jul-07 12:10
sitebuilderMichael Dunn30-Jul-07 12:10 
AnswerRe: Disable and grey out menu item Pin
led mike30-Jul-07 12:42
led mike30-Jul-07 12:42 
AnswerRe: Disable and grey out menu item Pin
Mark Salsbery30-Jul-07 13:58
Mark Salsbery30-Jul-07 13:58 
QuestionRe: Disable and grey out menu item Pin
Johpoke30-Jul-07 21:54
Johpoke30-Jul-07 21:54 
Questionunexistent MailSlots doesn't return error. Pin
r3dqu33n30-Jul-07 10:13
r3dqu33n30-Jul-07 10:13 
QuestionMemory read error on Win2K, but not on XP Pin
Joe Smith IX30-Jul-07 7:15
Joe Smith IX30-Jul-07 7:15 
AnswerRe: Memory read error on Win2K, but not on XP Pin
Mark Salsbery30-Jul-07 8:00
Mark Salsbery30-Jul-07 8:00 
GeneralRe: Memory read error on Win2K, but not on XP Pin
Joe Smith IX30-Jul-07 8:38
Joe Smith IX30-Jul-07 8:38 
GeneralRe: Memory read error on Win2K, but not on XP Pin
Mark Salsbery30-Jul-07 8:46
Mark Salsbery30-Jul-07 8:46 
GeneralRe: Memory read error on Win2K, but not on XP Pin
Joe Smith IX30-Jul-07 9:08
Joe Smith IX30-Jul-07 9:08 
GeneralRe: Memory read error on Win2K, but not on XP Pin
Mark Salsbery30-Jul-07 9:58
Mark Salsbery30-Jul-07 9:58 
I'm not sure why my posts got voted 5....I haven't helped any Smile | :)

If I had documentation on this "GdiDrawStream" function in GDI32.DLL it would be much easier
to give a definite answer.

If this is something that is only supported with the new visual styles, and you want to use it in
Windows 2000, then I would recommend modifying the button class instead of checking the OS
version in the class using the buttons (like you've shown).   That would encapsulate the OS
versioning stuff nicely so you wouldn't need to use different button classes in your dialogs.

The ThemeButton class is already derived from CButton, so it should be pretty easy to
modify the class - if the OS version is < XP just use the default CButton implementation.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Memory read error on Win2K, but not on XP Pin
led mike30-Jul-07 11:31
led mike30-Jul-07 11:31 
GeneralRe: Memory read error on Win2K, but not on XP Pin
Mark Salsbery30-Jul-07 14:45
Mark Salsbery30-Jul-07 14:45 
GeneralRe: Memory read error on Win2K, but not on XP [modified] Pin
Joe Smith IX30-Jul-07 16:55
Joe Smith IX30-Jul-07 16:55 
GeneralRe: Memory read error on Win2K, but not on XP Pin
Rick York30-Jul-07 9:52
mveRick York30-Jul-07 9:52 
GeneralRe: Memory read error on Win2K, but not on XP Pin
Joe Smith IX30-Jul-07 17:22
Joe Smith IX30-Jul-07 17:22 
QuestionParsing C files? Pin
julvr230-Jul-07 5:06
julvr230-Jul-07 5:06 
AnswerRe: Parsing C files? Pin
David Crow30-Jul-07 5:21
David Crow30-Jul-07 5:21 
AnswerRe: Parsing C files? Pin
Iain Clarke, Warrior Programmer30-Jul-07 5:38
Iain Clarke, Warrior Programmer30-Jul-07 5:38 
GeneralRe: Parsing C files? Pin
julvr230-Jul-07 6:00
julvr230-Jul-07 6:00 
GeneralRe: Parsing C files? Pin
Robert Surtees31-Jul-07 6:35
Robert Surtees31-Jul-07 6:35 

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.