Adding Bitmaps to a Tabs
By
using the TabCtrl_SetItem() meacro, adding Bitmaps to the
Tabs of a PageControl or TabControl is easily accomplished. This method is preferred over making the TabControl/PageControl owner-drawn, then drawing the
items yourself.
KEYWORDS: TabCtrl_SetItem
You'll need
to have an ImageList with each item corresponding to
a certain Tab, or set the iImage member of the
TC_ITEM struct to assign the index of the Tab's image
accordingly.
|