CasperTheGhost
Programmer
I am using a derived CFileDialog class in my app
(Explorer "2000" style) but can't Center the Dialog to the DesktopWindow. Tried first in OnInitDialog using CenterWindow(), goes to default Upper Left Hand corner. Tried MoveWindow() too, but same results. Last resort used a CALLBACK HookProc which caused the Dialog to revert to the 9x style but centered it! Does anyone know the proper
call/code to Center the Dialog (Explorer "2000" style)?
Thanks in advance...
(Explorer "2000" style) but can't Center the Dialog to the DesktopWindow. Tried first in OnInitDialog using CenterWindow(), goes to default Upper Left Hand corner. Tried MoveWindow() too, but same results. Last resort used a CALLBACK HookProc which caused the Dialog to revert to the 9x style but centered it! Does anyone know the proper
call/code to Center the Dialog (Explorer "2000" style)?
Thanks in advance...