GUI Help > General > resizeGadget
resizeGadget
resizeGadget handle gadget, int width, int height, [bool clientSizes]
Description: Resizes a gadget to the specified width and height.
Return Value:
Parameters:
gadget | Handle to the gadget.
width | New width of gadget in pixels.
height | New height of gadget in pixels
[clientSizes] | Optional. If set to 1, the width and height parameters will be interpreted as widths and heights excluding the borders of the gadget. For example, with a window gadget, if you specified 200 for the height, the *client* area (the part which gadgets can be placed in) would only be 180 pixels high because of the title bar. If you set clientSize to 1, the client area would be 200 pixels high, and the total height of the window would be 200+Height of the titlebar.
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)