AfxGetInstanceHandle()
CWinApp
(OnFileNew) // ID_FILE_NEW
CDocument::OnNewDocument
(OnFileSave, OnFileSaveAs) // ID_FILE_SAVE, ID_FILE_SAVE_AS
CDocument::OnOpenDocument
(OnFileOpen) // ID_FILE_OPEN
CDocument::OnOpenDocument
::AfxGetApp()
m_lpCmdLine
.OpenDocumentFile()
.SetRegistryKey()
HKEY_CURRENT\USER\Software\{..}\{실행 파일의 이름}
.WriteProfileInt()
HKEY_CURRENT\USER\Software\{..}\{실행 파일의 이름}\{..}
항목명, 항목값
.GetProfileInt()
.WriteProfileString()
.GetProfileString()
loads the cursor into memory only once
::SetCursor()