void CHideStartMenuDlg::OnHide()
{
HWND parent=::FindWindow("Shell_TrayWnd","");
HWND startmenu=::FindWindowEx(parent,0,"Button",NULL);
if(startmenu!=NULL)
{
::ShowWindow(startmenu,SW_HIDE);
}
}
void CHideStartMenuDlg::OnShow()
{
HWND parent=::FindWindow("Shell_TrayWnd","");
HWND startmenu=::FindWindowEx(parent,0,"Button",NULL);
if(startmenu!=NULL)
{
::ShowWindow(startmenu,SW_SHOW);
}
}