LRESULT CALLBACK WndProc(HWND hwnd,
UINT message,
WPARAM wParam,
LPARAM lParam
)
{
//定义字符串
//char *msgCaption="收到消息";
//char *msgLBTN="鼠标右键按下,收到WM_LBUTTONDOWN消息";
char *msgCaption="收到消息";
char *str;
HDC hDC; //定义指向设备环境的句柄
HBRUSH hBrush; //定义指向画刷的句柄
HPEN hPen; //定义指向画笔的句柄
PAINTSTRUCT PtStr; //定义指向绘图信息的结构变量
switch(message)
{
case WM_CHAR: //接收从键盘输入的字符
我想在这个地方取出wParam的值放在str上怎么做
break;
[此贴子已经被作者于2006-10-20 14:58:27编辑过]