User's Guide > User Interface: Dialogs > NakedWindow Operations
NakedWindow Operations
NakedWindow is an application defined area where controls can be positioned precisely by the application code.
It is recommended that you use the NakedWindow component:
To contain application defined content. For example, a Win32 HWND object whose content is not being ported.
To have precise control over child position.
Note:
 
Use the DrawingArea component to draw your own content.
Functions Introduced
Use the function ProUINakedwindowShow() to make the naked window visible.
Use the function ProUINakedwindowHide() to make the naked window invisible.
Use the function ProUINakedwindowHide() to determine if the naked window is visible or invisible.
Use the function ProUINakedwindowEnable() to set the naked window and all its children to be sensitive to user input.
The function ProUINakedwindowDisable() ignores the flag children always-on-top when arranging them.
The function ProUINakedwindowIsEnabled() checks if the naked window is sensitive or insensitive to the user input.
Use the function ProUINakedwindowMappedSet() to set the naked window to occupy space when invisible.
The function ProUINakedwindowMappedUnset() sets the naked window not to occupy space when invisible.
The function ProUINakedwindowIsMapped() checks if the naked window occupies any space when it is invisible.
The function ProUINakedwindowEnablePopupwheninsensitive() shows the popup menu when the naked window is insensitive.
The function ProUINakedwindowDisablePopupwheninsensitive() hides the popup menu when the naked window is insensitive.
The function ProUINakedwindowIsPopupwheninsensitiveEnabled() checks the status (shown/hidden) of the popup menu when the naked window is insensitive. The output state is a ProBoolean and is PRO_B_TRUE when the popup menu is shown for the insensitive naked window; PRO_B_FALSE when the popup menu is hidden for the insensitive naked window.
Use the function ProUINakedwindowEnableAlwaysontop() to make children that have always-on-top enabled to be always placed above their siblings in the Z-order.
The function ProUINakedwindowDisableAlwaysontop() to ignore the flag children always-on-top when arranging them.
The function ProUINakedwindowIsAlwaysontopEnabled() checks if the NakedWindow always places children with always-on-top behavior enabled to always be above their siblings in the Z-order when arranging them. The output state is a ProBoolean and is PRO_B_TRUE if the NakedWindow always places children with always-on-top behavior enabled to always be above their siblings in the Z-order, PRO_B_FALSE otherwise
Use the function ProUINakedwindowAttachLeft() to attach the naked window at left side of the parent component
Use the function ProUINakedwindowUnattachLeft() to not attach the naked window at left side of the parent component.
The function ProUINakedwindowIsAttachedLeft() checks if the naked window is attached at left side of the parent component. The output state is a ProBoolean and is PRO_B_TRUE when the naked window is attached at left side of the parent component. PRO_B_FALSE when the naked window is not attached at left side of the parent component.
Use the function ProUINakedwindowAttachRight() to attach the naked window at right side of the parent component
Use the function ProUINakedwindowUnattachRight() to not attach the naked window at right side of the parent component.
The function ProUINakedwindowIsAttachedRight() checks if the naked window is attached at right side of the parent component. The output state is a ProBoolean and is PRO_B_TRUE when the naked window is attached at right side of the parent component. PRO_B_FALSE when the naked window is not attached at right side of the parent component.
Use the function ProUINakedwindowAttachTop() to attach the naked window at top side of the parent component.
Use the function ProUINakedwindowUnattachTop() to not attach the naked window at top side of the parent component.
The function ProUINakedwindowIsAttachedTop() checks if the naked window is attached at top side of the parent component. The output state is a ProBoolean and is PRO_B_TRUE when the naked window is attached at top side of the parent component. PRO_B_FALSE when the naked window is not attached at top side of the parent component.
Use the function ProUINakedwindowAttachBottom() to attach the naked window at bottom side of the parent component.
Use the function ProUINakedwindowUnattachBottom().to not attach the naked window at bottom side of the parent component.
The function ProUINakedwindowIsAttachedBottom() checks if the naked window is attached at bottom side of the parent component. The output state is a ProBoolean and is PRO_B_TRUE when the naked window is attached at bottom side of the parent component. PRO_B_FALSE when the naked window is not attached at bottom side of the parent component.
Component Name
Get Functions
Set Functions
Helptext
Foregroundcolor
Backgroundcolor
Nakeddisplay
Not Applicable
Nakedwindow
Not Applicable
Nakedwidth
Nakedheight
Nakedminwidth
Nakedminheight
Defaultbuttonaction
Alwaysallowevents
Popupmenu
Parentname
()
Leftoffset
Rightoffset
Topoffset
Bottomoffset
Anchor
Not Applicable
Size
Position
Cursorpos
ResizeAction
Not Applicable
KeyAction
Not Applicable
FocusinAction
Not Applicable
FocusoutAction
Not Applicable
DestroynotifyAction
Not Applicable
PremanagenotifyAction
Not Applicable
PostmanagenotifyAction
Not Applicable
È stato utile?