UIX_ShowPopupFlags Enumeration

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 3: Line 3:
 
{{#customTitle:UIX_ShowPopupFlags Enumeration}}
 
{{#customTitle:UIX_ShowPopupFlags Enumeration}}
 
{{#parentPage:PXV:UIX_Enumerations|UIX_ShowPopupFlags|enum}}
 
{{#parentPage:PXV:UIX_Enumerations|UIX_ShowPopupFlags|enum}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
Specifies the ...
+
Specifies the rules of behavior of Popup window, created by  [[PXV:IUIX_Inst_ShowPopup|IUIX_Inst::ShowPopup Method]]. All aligns based on another parameter - RECT. Value without any Align flag bring to behavior similar as with <code>UIX_ShowPopup_Align_TB | UIX_ShowPopup_Align_LL</code> but without adjustment by width of border of Popup container.
 +
With alignment flags position will be auto-adjustment for avoid positioning out of screen.
 +
Also auto-adjustment will try to avoid overlapping of specified rectangle. UIX_ShowPopup_Inside flag change this to place popup inside specified rectangle.
 +
 
  
 
== Syntax ==
 
== Syntax ==
Line 33: Line 35:
 
== Constants ==
 
== Constants ==
 
;UIX_ShowPopup_Align_LL
 
;UIX_ShowPopup_Align_LL
:The ...
+
:Popup left side will be aligned to left side of specified rectangle
 
;UIX_ShowPopup_Align_TB
 
;UIX_ShowPopup_Align_TB
:The ...
+
:Popup top side will be aligned to bottom side of specified rectangle
 
;UIX_ShowPopup_Align_LR
 
;UIX_ShowPopup_Align_LR
:The ...
+
:Popup left side will be aligned to right side of specified rectangle
 
;UIX_ShowPopup_Align_RR
 
;UIX_ShowPopup_Align_RR
:The ...
+
:Popup right side will be aligned to right side of specified rectangle
 
;UIX_ShowPopup_Align_RL
 
;UIX_ShowPopup_Align_RL
:The ...
+
:Popup right side will be aligned to left side of specified rectangle
 
;UIX_ShowPopup_Align_BT
 
;UIX_ShowPopup_Align_BT
:The ...
+
:Popup bottom side will be aligned to top side of specified rectangle
 
;UIX_ShowPopup_Align_TT
 
;UIX_ShowPopup_Align_TT
:The ...
+
:Popup top side will be aligned to top side of specified rectangle
 
;UIX_ShowPopup_Align_BB
 
;UIX_ShowPopup_Align_BB
:The ...
+
:Popup bottom side will be aligned to bottom side of specified rectangle
 
;UIX_ShowPopup_Align_Mask
 
;UIX_ShowPopup_Align_Mask
:The ...
+
:Just a mask of all alignment flags.
 
;UIX_ShowPopup_NoChild
 
;UIX_ShowPopup_NoChild
:The ...
+
:Do not link to Owner window as a child window.
 
;UIX_ShowPopup_NoAnim
 
;UIX_ShowPopup_NoAnim
:The ...
+
:Avoid animation for popup appear. For animation were used level of transparency.
 
;UIX_ShowPopup_NoBorder
 
;UIX_ShowPopup_NoBorder
:The ...
+
:Remove thick border of popup container. Just a thin one-pixel black border will be used.
 
;UIX_ShowPopup_DestroyContentOnClose
 
;UIX_ShowPopup_DestroyContentOnClose
:The ...
+
:Call destroy of content window on close of popup container.
 
;UIX_ShowPopup_Modal
 
;UIX_ShowPopup_Modal
:The ...
+
:Show popup as a modal dialog.
 
;UIX_ShowPopup_Inside
 
;UIX_ShowPopup_Inside
:The ...
+
:All alignment will be used. But popup will stick to sides from inside of specified rectangle.  
 
;UIX_ShowPopup_FreePos
 
;UIX_ShowPopup_FreePos
:The ...
+
:No any autoposition. Popup will be placed into position, specified by rectangle.
 
;UIX_ShowPopup_KeepContextInfo
 
;UIX_ShowPopup_KeepContextInfo
:The ...
+
:Keep context menu origin-point during command executing command from the menu. Not implemented yet.

Revision as of 03:57, 7 December 2015


Specifies the rules of behavior of Popup window, created by IUIX_Inst::ShowPopup Method. All aligns based on another parameter - RECT. Value without any Align flag bring to behavior similar as with UIX_ShowPopup_Align_TB | UIX_ShowPopup_Align_LL but without adjustment by width of border of Popup container. With alignment flags position will be auto-adjustment for avoid positioning out of screen. Also auto-adjustment will try to avoid overlapping of specified rectangle. UIX_ShowPopup_Inside flag change this to place popup inside specified rectangle.


Syntax

enum UIX_ShowPopupFlags
{
    UIX_ShowPopup_Align_LL              = 1,
    UIX_ShowPopup_Align_TB              = 0,
    UIX_ShowPopup_Align_LR              = 2,
    UIX_ShowPopup_Align_RR              = 4,
    UIX_ShowPopup_Align_RL              = 8,
    UIX_ShowPopup_Align_BT              = 16,
    UIX_ShowPopup_Align_TT              = 32,
    UIX_ShowPopup_Align_BB              = 64,
    UIX_ShowPopup_Align_Mask            = 255,
    UIX_ShowPopup_NoChild               = 256,
    UIX_ShowPopup_NoAnim                = 512,
    UIX_ShowPopup_NoBorder              = 1024,
    UIX_ShowPopup_DestroyContentOnClose = 2048,
    UIX_ShowPopup_Modal                 = 4096,
    UIX_ShowPopup_Inside                = 8192,
    UIX_ShowPopup_FreePos               = 16384,
    UIX_ShowPopup_KeepContextInfo       = 32768,
};

Constants

UIX_ShowPopup_Align_LL
Popup left side will be aligned to left side of specified rectangle
UIX_ShowPopup_Align_TB
Popup top side will be aligned to bottom side of specified rectangle
UIX_ShowPopup_Align_LR
Popup left side will be aligned to right side of specified rectangle
UIX_ShowPopup_Align_RR
Popup right side will be aligned to right side of specified rectangle
UIX_ShowPopup_Align_RL
Popup right side will be aligned to left side of specified rectangle
UIX_ShowPopup_Align_BT
Popup bottom side will be aligned to top side of specified rectangle
UIX_ShowPopup_Align_TT
Popup top side will be aligned to top side of specified rectangle
UIX_ShowPopup_Align_BB
Popup bottom side will be aligned to bottom side of specified rectangle
UIX_ShowPopup_Align_Mask
Just a mask of all alignment flags.
UIX_ShowPopup_NoChild
Do not link to Owner window as a child window.
UIX_ShowPopup_NoAnim
Avoid animation for popup appear. For animation were used level of transparency.
UIX_ShowPopup_NoBorder
Remove thick border of popup container. Just a thin one-pixel black border will be used.
UIX_ShowPopup_DestroyContentOnClose
Call destroy of content window on close of popup container.
UIX_ShowPopup_Modal
Show popup as a modal dialog.
UIX_ShowPopup_Inside
All alignment will be used. But popup will stick to sides from inside of specified rectangle.
UIX_ShowPopup_FreePos
No any autoposition. Popup will be placed into position, specified by rectangle.
UIX_ShowPopup_KeepContextInfo
Keep context menu origin-point during command executing command from the menu. Not implemented yet.