|
From: Vlada D. <dj...@im...> - 2003-02-20 09:16:53
|
Hi.
This is suppposed to be simple, but I can't get it to work. All I want to do
is display some text using TextOut function, but I get only a blank window.
Here's the code:
HDC hDC;
case WM_CREATE:
{
char str[]="Display text";
hDC=GetDC(hwnd);
TextOut(hDC,100,100,str,lstrlen(str));
ReleaseDC(hwnd,hDC);
}
break;
What am I doing wrong?
------------
Vlada
|