jonnyknowsbest
Technical User
I have a class containing the following function prototype:
void SetPosition (mrInt iX, mrInt iY);
and it is defined as follows:
void mrWindow::SetPosition (mrInt iX, mrInt iY)
{
SetWindowPos (m_hWindow, HWND_TOP, iX, iY, 0, 0, SWP_NOSIZE);
}
but when i try to use this function, the position of the window is still using the Windows Default, rather than using this function, any ideas
Regards
void SetPosition (mrInt iX, mrInt iY);
and it is defined as follows:
void mrWindow::SetPosition (mrInt iX, mrInt iY)
{
SetWindowPos (m_hWindow, HWND_TOP, iX, iY, 0, 0, SWP_NOSIZE);
}
but when i try to use this function, the position of the window is still using the Windows Default, rather than using this function, any ideas
Regards