05-08-2007 08:24 PM
05-09-2007 07:47 AM
The UIR file is like the source files for your panels that make up your user interface. The UIR file itself isn't displayed while the program is running. One or more panels in the UIR file are displayed under programmatic control.
The standard way to show part of your user interface is to LoadPanel, DisplayPanel, and RunUserInterface. For example
if ((panelHandle = LoadPanel (0, "MyUIR.uir", PANEL)) < 0)
return -1;
DisplayPanel (panelHandle);
RunUserInterface ();
In the UIR Editor, you can edit the panel properties to allow (or prohibit) the panel being maximized or minimized. The default is to allow both.