Resize Event


PLBCMP GUI Only

 

The Resize event occurs when a LISTVIEW column, PANEL, or WINDOW is changed to a new size.

Note the following:

  1. The Resize event is referenced using an event value of seventeen (17). The equated label in PLBEQU.INC for this event is $RESIZE.

  2. This event occurs when an object's size is changed by interaction with the user.

  3. The RESIZE event returns an event modifier value that identifies if a window is MAXIMIZED when the event occurrs. If the lower order bit of the event modifier value is set to one, the window was MAXIMIZED.

  4. When this event is registered for a LISTVIEW object, the event is generated when the width of a column is changed. The LISTVIEW resize event occurs after the user has finished the size drag action. Note also that the event modifier is given as bit mask value as follows:

 

Value

Meaning

0x1

The resize event was generated as the result of a user drag action. The event result value is a zero based value that identifies the column number that was resized.

 

 

See Also: EVENTREGISTER, Object Events, Object IO Instructions, Object Definitions

 



PL/B Language Reference PostMessage Event $RunIdleEvent