Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

OLEUIVIEWPROPS structure

Contains information that is used to initialize the View tab of the Object properties dialog box. A reference to it is passed in as part of the OLEUIOBJECTPROPS structure to the OleUIObjectProperties function. This tab allows the user to toggle between "content" and "iconic" views of the object, and change its scaling within the container. It also allows the user to tunnel to the change icon dialog box when the object is being displayed iconically.

Syntax


typedef struct tagOLEUIVIEWPROPS {
  DWORD                      cbStruct;
  DWORD                      dwFlags;
  DWORD                      dwReserved1[2];
  LPFNOLEUIHOOK              lpfnHook;
  LPARAM                     lCustData;
  DWORD                      dwReserved2[3];
  struct tagOLEUIOBJECTPROPS  *lpOP;
  int                        nScaleMin;
  int                        nScaleMax;
} OLEUIVIEWPROPS, *POLEUIVIEWPROPS, *LPOLEUIVIEWPROPS;

Members

cbStruct

The size of the structure, in bytes.

dwFlags

Flags specific to view page.

ValueMeaning
VPF_SELECTRELATIVE

Relative to origin.

VPF_DISABLERELATIVE

Disable relative to origin.

VPF_DISABLESCALE

Disable scale option.

 

dwReserved1

This member is reserved.

lpfnHook

Pointer to a hook callback (not used in this dialog box).

lCustData

Custom data to pass to the hook (not used in this dialog box).

dwReserved2

This member is reserved.

lpOP

Used internally.

nScaleMin

Minimum value for the scale range.

nScaleMax

Maximum value for the scale range.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OleDlg.h

Unicode and ANSI names

OLEUIVIEWPROPSW (Unicode) and OLEUIVIEWPROPSA (ANSI)

See also

OLEUIOBJECTPROPS

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.