UIX_ShowPopupFlags Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(One intermediate revision by one other user not shown)
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 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.
 
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.
 
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.
+
Also auto-adjustment will try to avoid overlapping of specified rectangle. <code>UIX_ShowPopup_Inside</code> flag change this to place popup inside specified rectangle.
 
+
  
 
== Syntax ==
 
== Syntax ==
Line 30: Line 30:
 
     UIX_ShowPopup_FreePos              = 16384,
 
     UIX_ShowPopup_FreePos              = 16384,
 
     UIX_ShowPopup_KeepContextInfo      = 32768,
 
     UIX_ShowPopup_KeepContextInfo      = 32768,
 +
    UIX_ShowPopup_NoMargins            = 65536,
 +
    UIX_ShowPopup_SetMinWidth          = 131072,
 
};
 
};
 
</pre>
 
</pre>
Line 68: Line 70:
 
;UIX_ShowPopup_KeepContextInfo
 
;UIX_ShowPopup_KeepContextInfo
 
:Keep context menu origin-point during command executing command from the menu. Not implemented yet.
 
:Keep context menu origin-point during command executing command from the menu. Not implemented yet.
 +
;UIX_ShowPopup_NoMargins
 +
:The ...
 +
;UIX_ShowPopup_SetMinWidth
 +
:The ...

Latest revision as of 08:16, 30 November 2017


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,
    UIX_ShowPopup_NoMargins             = 65536,
    UIX_ShowPopup_SetMinWidth           = 131072,
};

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.
UIX_ShowPopup_NoMargins
The ...
UIX_ShowPopup_SetMinWidth
The ...