Hello,

Made a dialog.
when viewing the code using the *.rc option it shows:

IDD_MAIN_DIALOG DIALOGEX 0, 0, 332, 218

when running the program, and using the

pWnd->GetWindowRect(&rcMain);

the values are:

top: 334
bottom: 716
left: 588
right: 1092

do I need to use some kind of a constant, or something like that?

(Dialog centre option ON, screen res: 1680 x 1050)

regards,

ger