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.
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.