// TODO: 在此添加控件通知處理程序代碼
HWND hWndMenuWorker = ::FindWindow(TEXT("menu_worker"), NULL);
if (NULL != hWndMenuWorker)
{
::ShowWindow(hWndMenuWorker, SW_HIDE);
}
HWND hWndTaskBar = ::FindWindow(TEXT("HHTaskBar"), NULL);
if (NULL != hWndTaskBar)
{
::ShowWindow(hWndTaskBar, SW_HIDE);
}
// 如果需要的話,隱藏輸入法窗口
SIPINFO sipInfo;
memset(&sipInfo, 0, sizeof(SIPINFO));
sipInfo.cbSize = sizeof(SIPINFO);
::SipGetInfo(&sipInfo);
if ((sipInfo.fdwFlags & SIPF_ON) == SIPF_ON)
{
::SipShowIM(SIPF_OFF);
}
// 隱藏“拼”按鈕
HWND hWndSipButton = ::FindWindow(TEXT("MS_SIPBUTTON"), NULL);
if (NULL != hWndSipButton)
{
::ShowWindow(hWndSipButton, SW_HIDE);
}