|
Prev: How to create wizards with direct links to pages
Next: vc++ mfc project build is extremely slow taking hours
From: Alexander on 9 May 2008 02:46 As the title reads. I have a tab control where each tab shows an icon (+text). I would like to be able to toggle the icons at will (so that all are shown or hidden). Any thoughts?
From: Alexander on 9 May 2008 06:26
On May 9, 3:46 pm, Alexander <the44s...(a)yahoo.com> wrote: > As the title reads. I have a tab control where each tab shows an icon > (+text). I would like to be able to toggle the icons at will (so that > all are shown or hidden). Any thoughts? Well, the answer was to be found in the documentation for CTreeCtrl. In case anyone has a similar problem, a call to SetImageList with NULL removes all icons (and redraws fixing offsets, etc). A subsequent call to SetImageList with the address of the image lists, restores the icons. |