void CBCGPDockingControlBar::SetIconIndex | ( | int | nIndex | ) |
Sets the docking pane icon index.
Call this method to specify an icon index. Image list shhould be loaded in the parent frame by calling CBCGPFrameWnd::SetDockingBarsIconList() or CBCGPMDIFrameWnd::SetDockingBarsIconList() in the frame class constructor.
nIndex | Zero-based icon index in the parent frame image list. |