{
CWinThread* pThread = AfxGetThread();
return pTrhead != NULL ? pThread->GetMainWnd() : NULL;
}
내부에서 AfxGetThread() 함수를 사용하는 것을 볼수가 있다.
Programming 게시판 관련
다이얼로그 기반에서 메뉴 내용이 갱신 안되는 문제 해결
다이얼로그 resize 시 child control의 그래픽 깨짐 해결
다른 스레드에서 메인다이얼로그 포인터 받아오기 AfxGetMainWnd()
다국어를 위한 StringTable, LoadString
WTL 정리
Windows 10 앱 개발(UWP)
Which Font is the default for MFC Dialog Controls
WaitForSingleObject와의 삽질..
Visual C++ 시리얼 통신(RS-232) 강좌 (2)
Visual C++ 시리얼 통신(RS-232) 강좌 (1)
VC의 소스 파일, sln파일 관리
VC++6.0 에서 VC++ 2005로 변환할 경우 형변환 경고 대응방법
UpdateWindow 함수에 대하여..
UpdateDialogControls
UpdateData(TRUE) or UpdateData(FALSE) 구분
unsigned char <-> 유니코드(unicode) 및, string 변환 매크로 - USES_CONVERSION
Thread와 SendMessage를 통해 DeadLock을 만드는 방법
Thread에서 Dialog의 UpdateData()사용하는 방법
Thread Programming
stdafx.h 사용 (미리 컴파일된 헤더)