[RESOLVED] Strange stretching
Strange behaviour of my application.
In windows 7 - all work
In windows xp after stretching main window - application close.
Code of sizing:
Code:
case WM_SIZE:
SendMessage(hsb, WM_SIZE, 0, 0);
{RECT WindowRect;
GetWindowRect(hwnd, &WindowRect);
int width = WindowRect.right-WindowRect.left;
SetWindowPos(hProgress, HWND_BOTTOM, 20, 150, width-50, 17, 0);
break;}
In what problem?
Re: [RESOLVED] Strange stretching
Well, you see now that posting only a small amount of code lines without showing what happened above and below these lines is often not enough. Don't you?