Hello,
Please let me know how to know the taskbar location whenther the bar is located on the left, the right, the top or the bottom ...
Thanks
Printable View
Hello,
Please let me know how to know the taskbar location whenther the bar is located on the left, the right, the top or the bottom ...
Thanks
CheersCode:HWND hTaskBar = ::FindWindow("Shell_TrayWnd",0);
if ( hTaskBar )
{
RECT rc;
::GetWindowRect(hTaskBar,&rc);
// rc holds the taskbar rectangle
}