Call this member function to cause application settings to be stored in the registry instead of INI files.
void SetRegistryKey( LPCTSTR lpszRegistryKey );
void SetRegistryKey( UINT nIDRegistryKey );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWinApp Overview, CWinApp Member Functions, Application Architecture Classes, CWinApp::InitInstance, CWinApp::InitApplication, CWinApp::GetProfileInt, CWinApp::GetProfileString, CWinApp::WriteProfileInt, CWinApp::WriteProfileString