I just call CenterWindow() in the property sheets OnInitDialog() method.
Kim Greenlee
>
I don't know anything about the function CenterWindow(). Do you use MFC??? I
only use the Windows-API, so I think I must process the WM_INITDIALOG
message by my own. Do you know what the function CenterWindow() does?
Andi
Use a PSPCB_PRECREATE callback and set the DS_CENTER dialog style
on the sheet.
--
(My return address is intentionally invalid; delete ".---" to get my real address.
My responses are not to be considered official technical support or advice.)