SECWellButton::PreDrawButton

void SECWellButton::PreDrawButton(CDC* , CDC* )

Called just before the button is painted.

Defined in: SECBTNS.cpp

Return Value

void

Parameters

Pointer to screen device context.

Pointer to memory device context.

Comments

This method gives classes derived from SECOwnerDrawButton the chance to initialize the screen and memory DCs before any drawing takes place. All drawing is done to a memory (off screen) DC to reduce flicker. If there was a problem creating the memory DC, then pMemDC will be the same as pScreenDC.

See Also

SECWellButton DrawItem DrawButton PostDrawButton