i am trying to rezize dailog which are added to property sheet using move window function but nothing is affecting. it taking same size as in resource file. how to resize it in code ?
A:
this->MoveWindow(xPosInScreen, yPosInScreen, Width, Height);
You can use it on initialisation function.
Sunscreen
2010-09-22 10:02:35
in oninitdialog() i am trying to call this->MoveWindow(xPosInScreen, yPosInScreen, Width, Height); but its not effecting at all . what would be the reason
2010-10-08 09:35:15
Do you added the function within UpdateData(true); UpdateData(false); segment? It can be an issue.
Sunscreen
2010-10-11 14:32:05
yes i have added that als o but no effect.
2010-10-20 09:25:54
use actual numbers, 200, 200, 400, 400.
Sunscreen
2010-10-20 14:31:31
used actual value didn't get the result
2010-10-27 05:50:02