Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGCC & bitmap.c__ Pin
tuan111114-Aug-09 18:29
tuan111114-Aug-09 18:29 
AnswerRe: GCC & bitmap.c__ Pin
zhu_lin16-Aug-09 16:23
zhu_lin16-Aug-09 16:23 
QuestionGCC & vga,bitmap.c Pin
tuan111114-Aug-09 17:13
tuan111114-Aug-09 17:13 
AnswerRe: GCC & vga,bitmap.c Pin
Bacon Ultimate Cheeseburger14-Aug-09 17:29
Bacon Ultimate Cheeseburger14-Aug-09 17:29 
AnswerRe: GCC & vga,bitmap.c Pin
Bacon Ultimate Cheeseburger14-Aug-09 20:33
Bacon Ultimate Cheeseburger14-Aug-09 20:33 
QuestionVC7 to VC8 migration Pin
uli200014-Aug-09 9:01
uli200014-Aug-09 9:01 
AnswerRe: VC7 to VC8 migration Pin
«_Superman_»14-Aug-09 17:05
professional«_Superman_»14-Aug-09 17:05 
QuestionTVINSERTSTRUCT - how to get the "item" memeber in CTreeCtrl? Pin
Vaclav_14-Aug-09 8:49
Vaclav_14-Aug-09 8:49 
I am successfully creating tree nodes using the TVINSERTSTRUCT. I have 4 levels of child nodes and need to add another nodes to the last one as siblings.
I can use GetNextItem to retrieve HTREEITEM   ( verified by getting the node text sting) but I am unable to get the actual tree TVITEM item where I will need the LPARAM for further processing.

Here is the essence of the code:

    
     HTREEITEM hTreeItem;
     TVINSERTSTRUCT * pItem = new      TVINSERTSTRUCT ();
    
               // first child
     hTreeItem = m_ctrlTree.GetNextItem(NULL, TVGN_CHILD   );
     strNode = m_ctrlTree.GetItemText(hTreeItem ); // TOK

     do
     {
         
          hTreeItem = m_ctrlTree.GetNextItem(hTreeItem , TVGN_CHILD   );
          strNode = m_ctrlTree.GetItemText(hTreeItem );//TOK
          m_ctrlTree.SelectItem(     hTreeItem ); // did not help
          if(!m_ctrlTree.GetItem(&pItem->item ))
               TRACE ("Failed”);
AnswerRe: TVINSERTSTRUCT - how to get the "item" memeber in CTreeCtrl? Pin
Vaclav_14-Aug-09 8:53
Vaclav_14-Aug-09 8:53 
QuestionLogger! "hijacking" interface! Pin
thelonesquirrely14-Aug-09 7:27
thelonesquirrely14-Aug-09 7:27 
AnswerRe: Logger! "hijacking" interface! Pin
thelonesquirrely14-Aug-09 8:36
thelonesquirrely14-Aug-09 8:36 
QuestionHow to get tool tip text of another application. Pin
onlyjaypatel14-Aug-09 4:27
onlyjaypatel14-Aug-09 4:27 
AnswerRe: How to get tool tip text of another application. Pin
Bacon Ultimate Cheeseburger14-Aug-09 11:26
Bacon Ultimate Cheeseburger14-Aug-09 11:26 
GeneralRe: How to get tool tip text of another application. Pin
onlyjaypatel14-Aug-09 19:29
onlyjaypatel14-Aug-09 19:29 
QuestionSet TitleBAr Pin
kumar sanghvi14-Aug-09 2:52
kumar sanghvi14-Aug-09 2:52 
AnswerRe: Set TitleBAr Pin
kumar sanghvi14-Aug-09 3:45
kumar sanghvi14-Aug-09 3:45 
QuestionRe: Set TitleBAr Pin
David Crow14-Aug-09 5:39
David Crow14-Aug-09 5:39 
GeneralRe: Set TitleBAr Pin
Bacon Ultimate Cheeseburger14-Aug-09 11:52
Bacon Ultimate Cheeseburger14-Aug-09 11:52 
QuestionUniversal font Pin
includeh1014-Aug-09 2:18
includeh1014-Aug-09 2:18 
AnswerRe: Universal font Pin
Stuart Dootson14-Aug-09 2:21
professionalStuart Dootson14-Aug-09 2:21 
AnswerRe: Universal font Pin
Nemanja Trifunovic14-Aug-09 3:00
Nemanja Trifunovic14-Aug-09 3:00 
QuestionNTLM authentication and Wininet.dll dependency Pin
dharani14-Aug-09 0:22
dharani14-Aug-09 0:22 
AnswerRe: NTLM authentication and Wininet.dll dependency Pin
Stuart Dootson14-Aug-09 2:20
professionalStuart Dootson14-Aug-09 2:20 
QuestionDLL Hell ? Pin
Haakon S.14-Aug-09 0:21
Haakon S.14-Aug-09 0:21 
AnswerRe: DLL Hell ? Pin
_AnsHUMAN_ 14-Aug-09 0:29
_AnsHUMAN_ 14-Aug-09 0:29 

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.