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
ProUINakedwindowShow()
ProUINakedwindowHide()
ProUINakedwindowIsVisible()
ProUINakedwindowEnable()
ProUINakedwindowDisable()
ProUINakedwindowIsEnabled()
ProUINakedwindowMappedSet()
ProUINakedwindowMappedUnset()
ProUINakedwindowIsMapped()
ProUINakedwindowEnablePopupwheninsensitive()
ProUINakedwindowDisablePopupwheninsensitive()
ProUINakedwindowIsPopupwheninsensitiveEnabled()
ProUINakedwindowEnableAlwaysontop()
ProUINakedwindowDisableAlwaysontop()
ProUINakedwindowIsAlwaysontopEnabled()
ProUINakedwindowAttachLeft()
ProUINakedwindowUnattachLeft()
ProUINakedwindowIsAttachedLeft()
ProUINakedwindowAttachRight()
ProUINakedwindowUnattachRight()
ProUINakedwindowIsAttachedRight()
ProUINakedwindowAttachTop()
ProUINakedwindowUnattachTop()
ProUINakedwindowIsAttachedTop()
ProUINakedwindowAttachBottom()
ProUINakedwindowUnattachBottom()
ProUINakedwindowIsAttachedBottom()
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
ProUINakedwindowHelptextGet()
ProUINakedwindowHelptextSet()
Foregroundcolor
ProUINakedwindowForegroundcolorGet()
ProUINakedwindowForegroundcolorSet()
Backgroundcolor
ProUINakedwindowBackgroundcolorGet()
ProUINakedwindowBackgroundcolorSet()
Nakeddisplay
ProUINakedwindowNakeddisplayGet()
Not Applicable
Nakedwindow
ProUINakedwindowNakedwindowGet()
Not Applicable
Nakedwidth
ProUINakedwindowNakedwidthGet()
ProUINakedwindowNakedwidthSet()
Nakedheight
ProUINakedwindowNakedheightGet()
ProUINakedwindowNakedheightSet()
Nakedminwidth
ProUINakedwindowNakedminwidthGet()
ProUINakedwindowNakedminwidthSet()
Nakedminheight
ProUINakedwindowNakedminheightGet()
ProUINakedwindowNakedminheightSet()
Defaultbuttonaction
ProUINakedwindowDefaultbuttonactionGet()
ProUINakedwindowDefaultbuttonactionSet()
Alwaysallowevents
ProUINakedwindowAlwaysalloweventsGet()
ProUINakedwindowAlwaysalloweventsSet()
Popupmenu
ProUINakedwindowPopupmenuGet()
ProUINakedwindowPopupmenuSet()
Parentname
ProUINakedwindowParentnameGet()
()
Leftoffset
ProUINakedwindowLeftoffsetGet()
ProUINakedwindowLeftoffsetSet()
Rightoffset
ProUINakedwindowRightoffsetGet()
ProUINakedwindowRightoffsetSet()
Topoffset
ProUINakedwindowTopoffsetGet()
ProUINakedwindowTopoffsetSet()
Bottomoffset
ProUINakedwindowBottomoffsetGet()
ProUINakedwindowBottomoffsetSet()
Anchor
Not Applicable
ProUINakedwindowAnchorSet()
Size
ProUINakedwindowSizeGet()
ProUINakedwindowSizeSet()
Position
ProUINakedwindowPositionGet()
ProUINakedwindowPositionSet()
Cursorpos
ProUINakedwindowCursorposGet()
ProUINakedwindowCursorposSet()
ResizeAction
Not Applicable
ProUINakedwindowResizeActionSet()
KeyAction
Not Applicable
ProUINakedwindowKeyActionSet()
FocusinAction
Not Applicable
ProUINakedwindowFocusinActionSet()
FocusoutAction
Not Applicable
ProUINakedwindowFocusoutActionSet()
DestroynotifyAction
Not Applicable
ProUINakedwindowDestroynotifyActionSet()
PremanagenotifyAction
Not Applicable
ProUINakedwindowPremanagenotifyActionSet()
PostmanagenotifyAction
Not Applicable
ProUINakedwindowPostmanagenotifyActionSet()
这对您有帮助吗?