Original Post
I want to use SetWindowPlacement() to maximize my application window and I tried it with following WINDOWPLACEMENT structure:
WINDOWPLACEMENT wndpl = {
sizeof(WINDOWPLACEMENT),
WPF_RESTORETOMAXIMIZED,
SW_SHOWMINIMIZED,
0,0,0};
But SetWindowPlacement() fails. Does anyone know why?
Visit our homepage: www.rarebyte.de.st
GA