WindowSetInitialSize

HC GUI programming WindowSet WindowSetInitialSize
WindowSetId WindowSetLabel

WindowSetInitialSize window size


A smart SetSize that will fill in default size components with the window's best size values. Also sets the window's minsize to the value passed in for use with sizers. This means that if a full or partial size is passed to this function then the sizers will use that size instead of the results of GetBestSize to determine the minimum needs of the window for layout.

Most controls will use this to set their initial size, and their min size to the passed in value (if any.)

WindowSetId WindowSetLabel