HI, this must be very simple, but I'm new to Windows programming.
I want to maximize the main program's window at startup. But if I change cx and cy member of the CREATESTRUCT structure to values:in theCode:cs.cx=GetDeviceCaps(::GetDC(this->m_hWnd),HORZRES); and cs.cy=GetDeviceCaps(::GetDC(this->m_hWnd),VERTRES);
function this window's size is the size of the whole screen and at the bottom is hiden from the taskbar of the windows. I it's y-size to smaller- not to overlap with the taskbar.Code:BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)