Home COM GDI+ WebBrowser Data Access

Controls and Property Pages

 

Structures

 

CADWORD
CALPOLESTR
CAUUID
CONTROLINFO
LICINFO
OCPFIPARAMS
 

 

PAGERANGE
PAGESET
PICTDESC
PROPPAGEINFO
QACONTAINER
QACONTROL

 

CADWORD

 

The CADWORD structure is a counted array of DWORDs. It is used, for example, in the IPerPropertyBrowsing::GetPredefinedStrings method. The values returned in this counted array can be passed into the IPerPropertyBrowsing::GetPredefinedValue method to obtain the value corresponding to one of the predefined strings for a property.

 

 

TYPE CADWORD
   cElems AS DWORD
   pElems AS DWORD PTR
END TYPE

 

 

CALPOLESTR

 

The CALPOLESTR structure is a counted array of LPOLESTR types, that is, a counted array of pointers to strings. It is used, for example, in the IPerPropertyBrowsing::GetPredefinedStrings method to specify the predefined strings that a property can accept.

 

 

TYPE CALPOLESTR
   cElems AS DWORD
   pElems AS DWORD PTR
END TYPE

 

 

CAUUID

 

The CAUUID structure is a Counted Array of UUID or GUID types. It is used, for example, in the ISpecifyPropertyPages::GetPages method to receive an array of CLSIDs for the property pages that the object wants displayed.

 

 

TYPE CAUUID
   cElems AS DWORD
   pElems AS GUID PTR
END TYPE

 

 

CONTROLINFO

 

The CONTROLINFO structure contains parameters that describe a control's keyboard mnemonics and keyboard behavior. The structure is filled during the IOleControl::GetControlInfo method.

 

 

TYPE CONTROLINFO DWORD   ' // Must be DWORD aligned
  
cb AS DWORD
  
hAccel AS DWORD
  
cAccel AS WORD
  
dwFlags AS DWORD
END TYPE

 

 

LICINFO

 

The LICINFO structure contains parameters that describe the licensing behavior of a class factory that supports licensing. The structure is filled during the GetLicInfo method.

 

 

TYPE LICINFO
   cbLicInfo AS DWORD
   fRuntimeKeyAvail AS LONG

   fLicVerified AS LONG

END TYPE

 

 

OCPFIPARAMS

 

The OCPFIPARAMS structure contains parameters used to invoke a property sheet dialog box through the OleCreatePropertyFrameIndirect function.

 

 

TYPE OCPFIPARAMS
  
cbStructSize AS DWORD
  
hWndOwner AS DWORD
  
x AS LONG
  
y AS LONG
  
lpszCaption AS DWORD
  
cObjects AS DWORD
  
lplpUnk AS DWORD
  
cPages AS DWORD
  
lpPages AS GUID PTR
  
lcid AS LONG
  
dispIDInitialProperty AS LONG
END TYPE

 

 

PAGERANGE

 

The PAGERANGE structure specifies a range of pages. The rgPageRange member of the PAGESET structure is a structure of type PAGERANGE.

 

 

TYPE PAGERANGE
  
nFromPage AS LONG
  
nToPage AS LONG
END TYPE

 

 

PAGESET

 

The PAGESET structure identifies one or more page-ranges to be printed and, optionally, identifies only the even or odd pages as part of a pageset.

 

 

TYPE PAGESET
  
cbStruct AS DWORD
  
fOddPages AS LONG
  
fEvenPages AS LONG
  
cPageRange AS DWORD
  
rgPages AS PAGERANGE PTR
END TYPE

 

 

PICTDESC

 

The PICTDESC structure contains parameters to create a picture object through the OleCreatePictureIndirect function.

 

 

TYPE BMP
  
hbitmap AS DWORD
  
hpal AS DWORD
END TYPE

TYPE
WMF
  
hmeta AS DWORD
  
xExt AS WORD
  
yExt AS WORD
END TYPE

UNION
PICTDESCDATA
  
tbmp AS BMP
  
twmf AS WMF
  
hicon AS DWORD
  
hemf AS DWORD
END UNION

TYPE
PICTDESC
  
cbSizeOfStruct AS DWORD
  
picType AS DWORD
  
pd AS PICTDESCDATA
END TYPE

 

 

PROPPAGEINFO

 

The PROPPAGEINFO structure contains parameters used to describe a property page to a property frame. A property page fills a caller-provided structure in the IPropertyPage::GetPageInfo method.

 

 

TYPE PROPPAGEINFO
  
cb AS DWORD
  
pszTitle AS DWORD
  
nsize AS SIZEL
  
pszDocString AS DWORD
  
pszHelpFile AS DWORD
  
dwHelpContext AS DWORD
END TYPE

 

 

QACONTAINER

 

The QACONTAINER structure is used in IQuickActivate::QuickActivate to specify container information.

 

 

TYPE QACONTAINER
  
cbSize AS DWORD
  
pClientSite AS DWORD PTR
  
pAdviseSink AS DWORD PTR
  
pPropertyNotifySink AS DWORD PTR
  
pUnkEventSink AS DWORD PTR
  
dwAmbientFlags AS DWORD
  
colorFore AS DWORD
  
colorBack AS DWORD
  
pFont AS DWORD PTR
  
pUndoMgr AS DWORD PTR
  
dwAppearance AS DWORD
  
lcid AS DWORD
  
hpal AS DWORD
  
pBindHost AS DWORD PTR
  
pOleControlSite AS DWORD PTR
  
pServiceProvider AS DWORD PTR
END TYPE

 

 

QACONTROL

 

The QACONTROL structure is used in IQuickActivate::QuickActivate to specify control information.

 

 

TYPE QACONTROL
  
cbSize AS DWORD
  
dwMiscStatus AS DWORD
  
dwViewStatus AS DWORD
  
dwEventCookie AS DWORD
  
dwPropNotifyCookie AS DWORD
  
dwPointerActivationPolicy AS DWORD
END TYPE

 

 

Page last updated on Saturday, 18 March 2006 01:25:11 +0100