MOUSEMSG msg = { 0 };
int x, y,r;
print();
while (kn.flag)
{
msg = GetMouseMsg();//读取鼠标指令
if (msg.uMsg == WM_LBUTTONDOWN)
{
x = msg.x / siz + 1;
y = msg.y / siz;
if (x > 5&&x <26&&y>5&&y<26)
{
r = MessageBox(h, "resume?","", MB_YESNO);
if (r == IDYES );
}
}