注释掉while循环,能否通过编译,如果能效果怎样?
// while( GetMessage( &msg, NULL, 0, 0 ))
// {
// TranslateMessage(&msg);
// DispatchMessage(&msg);
// }
注释掉while循环,能否通过编译,如果能效果怎样?
// while( GetMessage( &msg, NULL, 0, 0 ))
// {
// TranslateMessage(&msg);
// DispatchMessage(&msg);
// }
whike循环里是抓取消息,注释掉就没有处理消息了
while那行注释掉编译没问题