본문 바로가기

Windows/MFC

AfxGetMainWnd GetActiveView

[code]CSMS_WIZARDView* pView = (CSMS_WIZARDView*)((CFrameWnd*)AfxGetMainWnd())->GetActiveView();
pView->m_bcboStatus = false;
[/code]

'Windows > MFC' 카테고리의 다른 글

CComboBox GetLBText내용 가져오기  (0) 2013.10.02
클래스간 참조 Tip  (0) 2013.10.02
AfxLoadString  (0) 2013.10.02
CEdit - LimitText() 글자수 제한하기  (0) 2013.10.02
Global variant value 사용하기 (전역변수)  (0) 2013.10.02