SetGadgetLayout gadget,left,right,top,bottom

Parameters

gadget - A gadget handle
left,right,top,bottom - Integer alignment flags

Description

SetGadgetLayout lets you control the automatic layout of a gadget when a window is resized
by the user.

Each alignment flag corresponds to an edge of the gadget, and indicates how that edge is to be
aligned with respect to the corresponding edge of its group.

0 - The edge of the gadget is free to move.
1 - The edge of the gadget is 'locked' in place.
2 - The edge of the gadget 'floats' proportionally.

Index

Click here to view the latest version of this page online