用过SDK朋友进来帮帮忙,初学者问题!
如果想在win32 sdk的一个简单的windows窗口中加textout信息,我写在“switch (message) /* handle the messages */
{
case WM_PAINT:
TextOut (hdc, x, y, szBuffer,
wsprintf (szBuffer, TEXT ("The sum of %i and %i is %i"),
iA, iB, iA + iB)) ;
break;
case WM_DESTROY:
PostQuitMessage (0); /* send a WM_QUIT to the message queue */
break;”中
为什莫不显示啊?如果想在那个自动生成的窗口中显示一个字符串,应该怎样写?出学SDK编程,不好意思!请指点!