UIX_CreateObjParams Structure

From PDF XChange PDF SDK
Jump to: navigation, search


Specifies the parameters for the IUIX_Obj creation.

Syntax

struct UIX_CreateObjParams
{
    IUIX_Obj* pParent;
    HANDLE_T  hWndParent;
    IUnknown* pImpl;
    LONG      nStdClass;
    LONGLONG  nObjStyle;
    LONGLONG  nCreateFlags;
    LPWSTR    pThemeClassID;
    RECT      rc;
    LPSTR     pDlgTemplates;
    LONG      cbDlgTemplates;
    LPWSTR    pID;
    HANDLE_T  hWnd;
    LONG      nInsertBefore;
    LONG      nWndStyle;
    LONG      nWndStyleEx;
    LPWSTR    pWndClassName;
};

Members

pParent
Pointer to IUIX_Obj containing the parent object or window. Can be used in place of the hWndParent
hWndParent
Value of HANDLE_T containing the parent window handle. Can be used in place of the pParent
pImpl
Pointer to IUnknown* containing the custom event handler.
nStdClass
Value of LONG containing the standard class ID such as Button, Edit, List etc.
nObjStyle
Value of LONGLONG containing the style flags of the new object.
nCreateFlags
Value of LONGLONG special creation flags to create windowed/windowless, child/popup/modal, scrollable, etc.
pThemeClassID
Value of LPWSTR containing the ID of the theme class (is optional). Can be of next values:
  • "Dialog",
  • "Button",
  • "ScrollBar",
  • "ScrollContainer",
  • "Edit",
  • "List",
  • "Label",
  • "PopupContainer",
  • "ComboButton",
  • "Combo",
  • "Picture",
  • "OriginSelector",
  • "ControlsLock",
  • "Group",
  • "Frame",
  • "Layout",
  • "Spin",
  • "Tooltip",
  • "CmdBar",
  • "CmdPane",
  • "Tree",
  • "Ruler",
  • "Slider",
  • "IndexNavigator",
  • "ColorPicker",
  • "PropSheetPage",
  • "PropSheets",
  • "CmdColorBtn",
  • "Progress",
  • "GuideLinesBtn",
  • "InfoBtn",
  • "PropList",
  • "RangesNavigator",
  • "IndProgress",
  • "ToggleBtn",
rc
Value of RECT containing the Object's rectangle, relative to parent (required).
pDlgTemplates
Value of LPSTR containing the template of the dialog if the dialog is being created. Required if (nStdClass == UIX_StdClass_Dialog).
cbDlgTemplates
Value of LONG containing the number of bytes pointed by pDlgTemplates.
pID
Value of LPWSTR containing the ID of the dialog. Required if (nStdClass == UIX_StdClass_Dialog) AND pDlgTemplates is collection of dialogs' templates.
hWnd
Value of HANDLE_T used for subclassing of existing window, requires valid pImpl. (Optional)
nInsertBefore
Value of LONG used if UIX_CreateObj_InsertBefore flag is specified.
nWndStyle
Value of LONG containing the style flags of the window. Used for new windowed object creation (if the UIX_CreateObj_Windowed is specified).
nWndStyleEx
Value of LONG containing the styleEx flags of the window. Used for new windowed object creation (if the UIX_CreateObj_Windowed is specified).
pWndClassName
Value of LPWSTR containing window's class name. Used for new windowed object creation (if the UIX_CreateObj_Windowed is specified).

See Also

IUIX_Inst::CreateObj, IUIX_Inst::CreateScrollableObj