Click here to Skip to main content
16,006,378 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Class Private Member Comparison :: C++ Pin
Tomasz Sowinski27-Aug-02 8:08
Tomasz Sowinski27-Aug-02 8:08 
GeneralAssertion error on controls Pin
RalfPeter27-Aug-02 7:03
RalfPeter27-Aug-02 7:03 
GeneralRe: Assertion error on controls Pin
Tomasz Sowinski27-Aug-02 7:07
Tomasz Sowinski27-Aug-02 7:07 
GeneralCTreeCtrl and item images Pin
Mariusz Popiołek27-Aug-02 6:56
sussMariusz Popiołek27-Aug-02 6:56 
GeneralRe: CTreeCtrl and item images Pin
Tomasz Sowinski27-Aug-02 7:09
Tomasz Sowinski27-Aug-02 7:09 
GeneralRe: CTreeCtrl and item images Pin
Mariusz Popiołek27-Aug-02 7:41
sussMariusz Popiołek27-Aug-02 7:41 
GeneralRe: CTreeCtrl and item images Pin
Shog927-Aug-02 7:55
sitebuilderShog927-Aug-02 7:55 
GeneralRe: CTreeCtrl and item images Pin
pnpfriend27-Aug-02 9:29
pnpfriend27-Aug-02 9:29 
It is possible .. but you have to have images though..Draw any images that you want..
then onInitDialog() add this line..
m_ImageList.Create(IDB_BITMAP_LIST,16,2,RGB(255,255,255));<br />
<br />
// anywhere( in any function you want ) put these lines<br />
HTREEITEM hItem; <br />
// set hItem equal to any treeitem that you want to change the image...<br />
m_TreeCtrl.SetItemImage(hItem,IMAGEFILE,IMAGEFILE);  // IMAGEFILE.. could be 1, 2, 3, 4,.or up to the number of your image list has.<br />


hope it helps
GeneralRe: CTreeCtrl and item images Pin
Tomasz Sowinski27-Aug-02 9:34
Tomasz Sowinski27-Aug-02 9:34 
GeneralPuzzled me! (about CTreeCtrl) Pin
Pole27-Aug-02 6:38
Pole27-Aug-02 6:38 
GeneralSTL gurus map operator [] Pin
_Magnus_27-Aug-02 5:43
_Magnus_27-Aug-02 5:43 
GeneralRe: STL gurus map operator [] Pin
Tomasz Sowinski27-Aug-02 5:56
Tomasz Sowinski27-Aug-02 5:56 
GeneralRe: STL gurus map operator [] Pin
_Magnus_27-Aug-02 6:02
_Magnus_27-Aug-02 6:02 
GeneralRe: STL gurus map operator [] Pin
Tomasz Sowinski27-Aug-02 6:03
Tomasz Sowinski27-Aug-02 6:03 
GeneralRe: STL gurus map operator [] Pin
Chris Losinger27-Aug-02 5:57
professionalChris Losinger27-Aug-02 5:57 
GeneralRe: STL gurus map operator [] Pin
_Magnus_27-Aug-02 6:04
_Magnus_27-Aug-02 6:04 
GeneralRe: STL gurus map operator [] Pin
sie27-Aug-02 6:19
sie27-Aug-02 6:19 
GeneralRe: STL gurus map operator [] Pin
_Magnus_27-Aug-02 6:21
_Magnus_27-Aug-02 6:21 
GeneralRe: STL gurus map operator [] Pin
Jim Crafton27-Aug-02 6:20
Jim Crafton27-Aug-02 6:20 
GeneralRe: STL gurus map operator [] Pin
_Magnus_27-Aug-02 6:25
_Magnus_27-Aug-02 6:25 
GeneralRe: STL gurus map operator [] Pin
Tomasz Sowinski27-Aug-02 6:26
Tomasz Sowinski27-Aug-02 6:26 
GeneralRe: STL gurus map operator [] Pin
Tomasz Sowinski27-Aug-02 6:25
Tomasz Sowinski27-Aug-02 6:25 
GeneralRe: STL gurus map operator [] Pin
Jim Crafton27-Aug-02 6:28
Jim Crafton27-Aug-02 6:28 
GeneralRe: STL gurus map operator [] Pin
Tomasz Sowinski27-Aug-02 6:30
Tomasz Sowinski27-Aug-02 6:30 
GeneralRe: STL gurus map operator [] Pin
Jim Crafton27-Aug-02 6:33
Jim Crafton27-Aug-02 6:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.