CWinApp::SetRegistryKey

Call this member function to cause application settings to be stored in the registry instead of INI files.

Syntax

void SetRegistryKey( LPCTSTR lpszRegistryKey );

void SetRegistryKey( UINT nIDRegistryKey );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWinApp Overview, CWinApp Member Functions, Application Architecture Classes, CWinApp::InitInstance, CWinApp::InitApplication, CWinApp::GetProfileInt, CWinApp::GetProfileString, CWinApp::WriteProfileInt, CWinApp::WriteProfileString