1

Topic: Event search

Prompt please, what event needs to be caught, when the mouse cursor was replaced with the cursor for change of the sizes of a window, the left mouse button is clamped and there is a mouse drag and drop (change of the size of a window), only I need event not resizeEvent, it does not come into it, when the sizes of a window cannot be reduced, but relocation of a clamped mouse happens all the same (attempt of change of a window), somewhere there it ignores resizeEvent, I want to understand where!

2

Re: Event search

Hello, TOPAZ23, you wrote: TOP> Prompt please, what event needs to be caught, when the mouse cursor was replaced with the cursor for change of the sizes of a window, the left mouse button is clamped and there is a mouse drag and drop (change of the size of a window), only I need event not resizeEvent, it does not come into it, when the sizes of a window cannot be reduced, but relocation of a clamped mouse happens all the same (attempt of change of a window), somewhere there it ignores resizeEvent, I want to understand where! Depends on a platform. It is necessary to catch WM_SIZING and any side to check that it changes the mouse (any WM_NCHIT ***). Therefore as the size of a window can be changed from the keypad through alt+. Generally that you want any abnormal behavior which does not lay down on logic GUI typical for the majority of OS is very similar. There is a change of the size of a window, is controlled by an axis, the programmer only sets the maximum and minimum size. For all remaining - drag&drop.