按下键盘的CTRL键,显示this is这样的字符,以下是源代码帮我修改一下!!
#include <windows.h>
LRESULT CALLBACK WndProc( HWND,UINT,
 WPARAM,
 LPARAM);
bool bControlDown;bool bShiftDown;POINT pDown;static long nxchar,nychar;
int WINAPI WinMain(  
   HINSTANCE hInstance,
   HINSTANCE hPrevInst,
   LPSTR lpCmdLine,
   int nCmdShow)
{
HWND hwnd;
MSG Msg;
WNDCLASS wndclass;
char IpszClassName[]="窗口";
char IpszTitle[]="My_windows";


wndclass.style=0;
wndclass.lpfnWndProc=WndProc;
wndclass.cbClsExtra=0;
wndclass.cbWndExtra=0;
wndclass.hInstance=hInstance;
wndclass.hIcon=LoadIcon(NULL,IDI_APPLICATION);
wndclass.hCursor=LoadCursor(NULL,IDC_ARROW);
wndclass.hbrBackground=(HBRUSH)GetStockObject(WHITE_BRUSH);

wndclass.lpszMenuName=NULL;
wndclass.lpszClassName =IpszClassName;


if(!RegisterClass(&wndclass))
{
MessageBeep(0);
return FALSE;
}
//-----------------
bControlDown = false;
hwnd=CreateWindow(
IpszClassName,
IpszTitle,
WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT,
CW_USEDEFAULT,
CW_USEDEFAULT, 
CW_USEDEFAULT,
NULL,
NULL,
hInstance,
NULL
);

ShowWindow(hwnd,nCmdShow);
UpdateWindow(hwnd);
while (GetMessage(&Msg,NULL,0,0))
{
TranslateMessage(&Msg);
DispatchMessage(&Msg);
}

return Msg.wParam;
}LRESULT CALLBACK WndProc(HWND hwnd,UINT message,
 WPARAM wParam,
 LPARAM lParam)
{
HDC hd;
RECT rect;
WORD x,y;
PAINTSTRUCT ps;
HCURSOR hcursor;
//x=LOWORD(lParam);
//y=HIWORD(lParam);
TEXTMETRIC tm;
static char lpsz_1[]="this is";

int X=0,Y=0;
switch(message) 
{ case WM_KEYDOWN:
{
if (wParam & VK_CONTROL)
{
bControlDown = TRUE;
}
return 0;
} case WM_KEYUP:
{
if (wParam & VK_CONTROL)
{
bControlDown = FALSE;
}
return 0;
}

case WM_CREATE:
hd=GetDC(hwnd);
RECT re;
GetClientRect(hwnd, &re);
GetTextMetrics(hd,&tm); if(wParam && bControlDown)
{
TextOut(hd,X,Y,lpsz_1,strlen(lpsz_1));
}
InvalidateRect(hwnd,NULL,TRUE);
ReleaseDC(hwnd, hd);
return 0;

case WM_PAINT:
hd=BeginPaint(hwnd,&ps);
EndPaint(hwnd,&ps);
return 0;


case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hwnd,message,wParam,lParam);
}
return (0);
}