about FrameWindow size!
Posted: Mon Mar 15, 2010 12:48
Hi,CE
How judging the FrameWindow size.
For example
Compiled code when the error:
Error C2678: binary '<' : no operator found which takes a left-hand operand of type.
How can I do it!
thanks!
How judging the FrameWindow size.
For example
Code: Select all
FrameWindow * wnd = winMgr.getwindow("M_Wnd");
Window * st = winMgr.getwindow("Test_Wnd");
UDim now_dx;
UDim last_dx;
last_dx = st->getXPosition().d_x;
now_dx = wnd->getXPosition().d_x;
if(now_dx < last_dx)
{
MessageBoxA(NULL,"good",NULL,MB_OK);
}
else
{
return false;
}
Compiled code when the error:
Error C2678: binary '<' : no operator found which takes a left-hand operand of type.
How can I do it!
thanks!