HWND hWndTrayWnd = ::FindWindow("Shell_TrayWnd","");
또는 unsing unicode 일때
HWND hWndTrayWnd = ::FindWindow(T_("Shell_TrayWnd"),NULL);
CRect rect;
if(hWndtrayWnd)
{
::GetWindowRect(hWndTrayWnd, &rect);
}
출처 : http://legendfinger.com/418
또는 unsing unicode 일때
HWND hWndTrayWnd = ::FindWindow(T_("Shell_TrayWnd"),NULL);
CRect rect;
if(hWndtrayWnd)
{
::GetWindowRect(hWndTrayWnd, &rect);
}
출처 : http://legendfinger.com/418