tags:

views:

29

answers:

1

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
in oninitdialog() i am trying to call this->MoveWindow(xPosInScreen, yPosInScreen, Width, Height); but its not effecting at all . what would be the reason
Do you added the function within UpdateData(true); UpdateData(false); segment? It can be an issue.
Sunscreen
yes i have added that als o but no effect.
use actual numbers, 200, 200, 400, 400.
Sunscreen
used actual value didn't get the result