언어/C++
Visual Studio 2010 작업표시줄 크기 구하기
Mustang
2010. 10. 21. 10:23
굳이 Visual Studio 2010용은 아니지만 Visual Studio 2010에서 작업했기에 제목을 그렇게 지었다.
Visual Studio 2010
HWND hWnd = ::FindWindow(L"Shell_TrayWnd", L"");해 만듬.
CRect rect;
if(hWnd)
{
Visual Studio 2010
HWND hWnd = ::FindWindow(L"Shell_TrayWnd", L"");해 만듬.
CRect rect;
if(hWnd)
{
::GetWindowRect(hWnd, &rect);
}
높이는 rect.botton-rect.top으로 구하면 된다.
높이는 rect.botton-rect.top으로 구하면 된다.