Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-11

Resizing window in Win32

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin Smat

Hello,
when I try to resize a window with the LEFT UPPER corner under Windows win32 API, the window is not resized, it only moves into the position where I place the corner. It looks like the window sends message WM_WINDOWPOSCHANGED. This message is replaced with WM_SIZE and WM_MOVE messages in DefWindowProc. I suppose that the window is resized first but the new width and height values are forgotten and then the window is moved with the old width and height values.
Can anybody know why this happens? I can't find the right reason.

Martin Smat.

Reply by email