Functions for dealing with UI widgets.
Intersect an object in the current viewport given a point returned by PickPoint.
A ray defining the intersection point and surface normal if the object was hit, otherwise undefined.
<obj>
<pnt>
pnt = PickPoint()
if (ClassOf pnt == Point3) then IntersectPickPoint obj pnt
Set the command panel task mode (if needed), and save the old state.
The task mode won't be switched if it's already set to the mode requested (avoids UI flicker).
TRUE if the panel actually switches, otherwise FALSE (though the mode is always pushed onto the stack).
<taskMode>
Get/SetCommandPanelTaskMode()
functions.
Restore the last saved command panel task mode.
The task mode won't be switched if it's already set to the mode saved (avoids UI flicker).
TRUE if the panel actually switches, otherwise FALSE (though the top mode is always popped off the stack).
Checks that passed listbox has a valid selection.
True if the listbox's selection is valid, otherwise false.
<listBox>