SECColorWell::CalculateSize

CRect SECColorWell::CalculateSize(CWnd* pParentWnd, int x, int y, BOOL bDialogBaseUnits)

Calculates the window rectangle. The the initial positions (x,y) can optionally be in dialog base units.

Defined in: SECWELL.cpp

Return Value

The size of the window as a CRect.

Parameters

pParentWnd

Pointer to the parent of the color well window.

x

Initial X position for the color well window.

y

Initial Y position for the color well window.

bDialogBaseUnits

TRUE if x and y are specified in dialog base units; FALSE if they are in logical units.

See Also

SECColorWell SetGridSize