Export (0) Print
Expand All
Expand Minimize

CBasePane::SetPaneStyle

Sets the style of the pane.

virtual void SetPaneStyle(
   DWORD dwNewStyle
);

[in] dwNewStyle

Specifies the new style to set.

This method can be used to set any of the CBRS_ styles that are defined in afxres.h. Because pane style and pane alignment are stored together, set the new style by combining it with the current alignment as follows.

pPane->SetPaneStyle (pPane->GetCurrentAlignment() | CBRS_TOOLTIPS);

Header: afxbasepane.h

Show:
© 2014 Microsoft