CEditView and XP Manifest
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
As soon as I add this line to the resource file: CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "res\Wcpm.manifest" as recommended by an MSDN article in order to get XP visual styles, the CEditView in the application starts showing rubbish characters whenever a text file is opened and displayed in it. All dialog controls and whatnot change to the XP visual style just fine, just this crazy CEditView behaviour also starts happening. I suspect its something to do with the fact that CEditView directly manipulates the hosted edit control's buffer and doesn't go through SetWindowText or ReplaceSel or any of those functions to display text. Mighty annoying. Anyone come across this before?