Control bar를 보이거나 숨기는 방법
Control Bar의 부모창인 CFrameWnd의 CFrameWnd::ShowControlBar() 함수를 이용한다.
[code]CControlBar m_wndCtlBar;
// 숨길 때...
m_wndParentFrameWnd.ShowControlBar(&m_wndCtlBar, FALSE, FALSE);
//보일 때...
m_wndParentFrameWnd.ShowControlBar(&m_wndCtlBar, TRUE, FALSE);
[/code]
Control Bar의 부모창인 CFrameWnd의 CFrameWnd::ShowControlBar() 함수를 이용한다.
[code]CControlBar m_wndCtlBar;
// 숨길 때...
m_wndParentFrameWnd.ShowControlBar(&m_wndCtlBar, FALSE, FALSE);
//보일 때...
m_wndParentFrameWnd.ShowControlBar(&m_wndCtlBar, TRUE, FALSE);
[/code]
'Windows > MFC' 카테고리의 다른 글
컨트롤 바(Control Bar)(Tool Bar)의 상태를 저장하고 복원하는 방법 (0) | 2013.10.02 |
---|---|
툴바(ToolBar)의 속성을 바꾸는 방법 (0) | 2013.10.02 |
콤보박스(ComboBox)의 리스트박스(ListBox)의 크기를 바꾸는 방법 (0) | 2013.10.02 |
콤보박스 (ComboBox)의 리스트 컨트롤(ListBox Control)을 알아내는 방법 (0) | 2013.10.02 |
컨트롤 배경색 변경하기 (SetTextColor,SetBkMode) (0) | 2013.10.02 |