Why do I feel like I asked this question already..hehe...
I'm saving to registry the location of the dialog box so that it will start there again where it was left off..
Doing so on WM_DESTROY also.
The numbers don't seem to jive, am I going about this the wrong way?
The SaveSetting is a registry save routine in my DLL.
Thanks,
Scott
------------------
Scott
mailto:[email protected][email protected]</A>
MCSE, MCP+Internet
I'm saving to registry the location of the dialog box so that it will start there again where it was left off..
Doing so on WM_DESTROY also.
Code:
Case %WM_DESTROY GetWindowRect hDlg, WndRect SaveSetting %HKEY_LOCAL_MACHINE,"Software\Computer Creations Software\" + g_szMine,"Top", Format$(WndRect.nTop) SaveSetting %HKEY_LOCAL_MACHINE,"Software\Computer Creations Software\" + g_szMine,"Left", Format$(WndRect.nLeft) Function = 0 Exit Function
The numbers don't seem to jive, am I going about this the wrong way?
The SaveSetting is a registry save routine in my DLL.
Thanks,
Scott
------------------
Scott
mailto:[email protected][email protected]</A>
MCSE, MCP+Internet
Comment