개발관련/MFC 썸네일형 리스트형 레지스트리 등록 아웅.. 거의 4달만에 .net으로 오니 툴이 왜이렇게 낯설은지...ㅋ 머리속에 남아 있는것두 없는것 같고.. MSDN 과 함께 막 헤메고...ㅋ 까먹기 전에 잘 안쓰는 것들은 좀 메모 해 놔야 겠다.. CWinApp::WriteProfileInt in MSDN... BOOL WriteProfileInt( LPCTSTR lpszSection, LPCTSTR lpszEntry, int nValue ); Parameters lpszSection Points to a null-terminated string that specifies the section containing the entry. If the section does not exist, it is created. The name of the sec.. 더보기 timer 사용하기 OnTimer(UINT nIDEvent) { do(); } The SetTimer method sets a timer on the clock. SyntaxHRESULT SetTimer( QWORD cnsWhen, void *pvParam, DWORD* pdwTimerId ); Parameters cnsWhen [in] Specifies the time at which the reader notifies the OnStatus callback, in 100-nanosecond units. pvParam [in] Specifies a pointer to the timer context parameters that are returned in the OnStatus callback. pdwTimerId [ou.. 더보기 TabCtrl for multi View // CTab_CtrlDlg.h 1. make view ( will be attach to tab ) class Child_view : public CDialog { public: BOOL OnInitDialog(); protected: virtual void OnOK() {} virtual void OnCancel() {} } 2. make member variable #define MAX_VIEW view_cnt // total view count class Tab_CtrlDlg : public CDialog { public: CDialog *child_tab[MAX_VIEW]; Child_view child_view; .... } // CTab_CtrlDlg.cpp 1. create tab ( in.. 더보기 이전 1 2 3 4 5 다음