WDK(Windows Driver Kit) 7.0.0 released 6, Aug, 2009.
This version is latest windows driver development kit for windows platform
including Windows7 and Windows Server 2008.
You can download from here.
Monday, August 17, 2009
WDK 7.0.0 Released
Friday, August 7, 2009
Richedit Control Bug(?)
I've found a quite bothering bug about rich edit control.
1. Create Visual C++ Dialog Based project.
2. Set Character set to "Multi Byte Support" on project property.
3. Open resouce file(.rc) with "view code"
4. We can see following code that rich edit control generated Ansi window class.
CONTROL
"",IDC_RICHEDIT21,"RichEdit20A",ES_AUTOHSCROLL WS_BORDER
WS_TABSTOP,57,60,135,111
5. Then , change "Character set" property to "Unicode character set" on project poperty page.
6. Now, we expected rich edit control's class changed unicode class, "RichEdit20W"...
But It's NOT...
We have to change it RichEdit control's class name to "RichEdit20W" manually on .rc source
code.
CONTROL "",IDC_RICHEDIT21,"RichEdit20W",ES_AUTOHSCROLL WS_BORDER
WS_TABSTOP,57,60,135,111
Subscribe to:
Posts (Atom)