// While 루프 돌때 메시지 처리 해주기 위한 함수
void YieldMessage()
{
MSG msg;
if( PeekMessage( &msg, AfxGetMainWnd()->m_hWnd, 0, 0, PM_REMOVE ))
{
DispatchMessage( &msg );
}
}
void YieldMessage()
{
MSG msg;
if( PeekMessage( &msg, AfxGetMainWnd()->m_hWnd, 0, 0, PM_REMOVE ))
{
DispatchMessage( &msg );
}
}
덧글을 달아 주세요