2010/03/23
툴바 또는 상태바를 숨기거나 보이게하기
// 툴바 감추기
if( ((CMainFrame*)GetParent())->m_wndToolBar.IsWindowVisible()) {
GetParent()->SendMessage(WM_COMMAND, ID_VIEW_TOOLBAR, 0L);
}
// 상태바 감추기
if( ((CMainFrame*)GetParent())->m_wndStatusBar.IsWindowVisible()) {
GetParent()->SendMessage(WM_COMMAND, ID_VIEW_STATUS_BAR, 0L);
}
//보이게 하려면 wParam값을 0이 아닌 값을 넣어줌
Original Post : http://neodreamer-dev.tistory.com/388
Labels:
C++
,
MFC
,
TistoryOldPost
,
Visual C++
,
상태바
,
툴바
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment