User`s guide

15 Examples of GUIs Created Programmatically
Called from a blank GUI, the function requests a name, and then populates
the figure with all controls. Called from a GUI that contains a list,
lmnew calls
the main
listmaster function to create a new GUI, and uses that figure’s
handle (instead of its own) when populating it with controls.
15-46