hi.. how can i find out the coordinates of a dialog box? and what do i have to do to move it to a different location? thanks.
Posted on 2000-12-26 20:41:00 by your mama
when you use the CreateDialog or the few other APIs to create a dialog box, the return value is the handle of the dialog box. Then, you can use GetWindowRect with the handle, to find the position of the window. Then, you can use SetWindowPos, to change the position.
Posted on 2000-12-26 21:06:00 by Hel