반응형
- 상단에 있는 task bar 를 보이게 하거나 숨길수있다.
예제
Task bar 숨기기 보이기 예제
void xenotest::OnButtonShow()
{
// TODO: Add your control notification handler code here
CWnd\* pTaskBar = CWnd::FindWindow(\_T("HHTaskBar"),L"");
SetReg(0, 1);
if (pTaskBar != NULL)
{
pTaskBar->SendMessage( WM\_WININICHANGE, 0, (LPARAM)5000);
}
}
void xenotest::OnButtonHide()
{
// TODO: Add your control notification handler code here
CWnd\* pTaskBar = CWnd::FindWindow(\_T("HHTaskBar"),L"");
SetReg(1, 0);
if (pTaskBar != NULL)
{
pTaskBar->SendMessage( WM\_WININICHANGE, 0, (LPARAM)5000);
}
}
반응형