rombust
09-12-2008, 12:44 PM
Currently, the Basic2D example on the Win32 platform does not work.
You cannot move the window on Vista.
The problem is caused by:
bool CL_DisplayMessageQueue::has_messages()
Currently, the code is:
bool CL_DisplayMessageQueue::has_messages()
{
return wait(0);
}
If i replace the function with:
bool CL_DisplayMessageQueue::has_messages()
{
CL_DisplayWindowMessage message = peek_message(false);
return (!message.is_null());
}
The Basic2D example works
But why?
I would have thought wait(0) would have been a better function to use.
(I have not changed the SVN)
You cannot move the window on Vista.
The problem is caused by:
bool CL_DisplayMessageQueue::has_messages()
Currently, the code is:
bool CL_DisplayMessageQueue::has_messages()
{
return wait(0);
}
If i replace the function with:
bool CL_DisplayMessageQueue::has_messages()
{
CL_DisplayWindowMessage message = peek_message(false);
return (!message.is_null());
}
The Basic2D example works
But why?
I would have thought wait(0) would have been a better function to use.
(I have not changed the SVN)