I have used the SetWindowPos(..) function to set the size and position of the windows.
But when I use GetClientRect to get the pos of the window,
Place.left & Place.top always equal to zero.
I tried another method by using the function GetWindowRect();
It only returns the position of the window placed on the screen. Thus, the value of Place.left &Place.top is variable.
Anyone can teach me how to get the pos of the mdi window
relative to the main frame???
In this case, I want to get the window's pos will be at
(20,20) with width 400 & heigth 400.