I think that if the window is in the MAXIMIZED state, it does not extend to the standard taskbar - however, you can force your window to be full-screen without maximizing it. To demonstrate:
case WM_SIZE:
if( wParam == SIZE_MAXIMIZED )
{
ShowWindow( hWnd, SW_RESTORE );
SetWindowPos( hWnd, HWND_TOPMOST,0,0,1920,1080,SWP_SHOWWINDOW );
}
break;
Please note that this has all the problems associated with the TOPMOST window!
...
, , , , :
HMONITOR hmon= MonitorFromWindow(hDlg, MONITOR_DEFAULTTONEAREST );
MONITORINFO moninfo;
moninfo.cbSize= sizeof(moninfo);
GetMonitorInfo(hmon, &moninfo);
SetWindowPos(hWnd,0, moninfo.rcWork.left, moninfo.rcWork.top,
moninfo.rcWork.right,moninfo.rcWork.bottom, SWP_NOZORDER );
. MAXIMIZED, , ( / , , ).