Tuesday, October 31, 2006, 8:33:40 PM, Felipe wrote:
FMdC> Hey guys, I´m having trouble with basic unicode windows functions.
FMdC> I created a very simple demo app that just creates an window. My
FMdC> objective is to see a correct title on the window that should be
FMdC> "fpGFX Window"
FMdC> If UnicodeEnabledOS is set to False, it works correctly. If it´s set
FMdC> to True, I can only see "f" on the window title.
FMdC> Can anyone help me?
FMdC> thanks
[snip]
FMdC> function fpGFXWindowProc(hwnd: HWND; uMsg: UINT; wParam: WPARAM;
FMdC> lParam: LPARAM): LRESULT; stdcall;
FMdC> begin
FMdC> Result := Windows.DefWindowProc(hwnd, uMsg, wParam, lParam);
FMdC> end;
In Unicode app, you must call DefWindowProcW instead of DefWindowProc.
[snip]
--
Best regards,
Sergei
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives