I have a window that is minimized and not added to the Taskbar when minimized. When minimized i want it to be moved to the bottom left corner of my main window. This works pretty good, but it somehow is a little small, so you can see the icon and restore,maximize and close button. But it seems impossible to resize that window so it shows the window title.
I tried SetWindowPos() and MoveWindow() but in both functions the new width and or hight parameters seem to be ignored. Moving the minimized window with both functions works fine.
    case WM_SIZE:
            if (wParam == SIZE_MINIMIZED)
            {
                WINDOWINFO wi;
                wi.cbSize = sizeof(WINDOWINFO);
                GetWindowInfo(ghMainWnd, &wi);  // gets the coordinates of the main window
                MoveWindow(hDlg, wi.rcClient.left, wi.rcClient.bottom - 55, 200, 35, TRUE);
                //SetWindowPos(hDlg, NULL, wi.rcClient.left , wi.rcClient.bottom - 55, 200, 35, SWP_NOZORDER | SWP_NOREDRAW);
                return FALSE;
            }
            if (wParam == SIZE_RESTORED) 
            {
                // do some stuff for the restored window
            }
      break;
Any adviced what could work?