Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaltype cast problem when going from VS6->VS.NET Pin
Mathias S.9-Apr-03 0:43
Mathias S.9-Apr-03 0:43 
GeneralRe: type cast problem when going from VS6->VS.NET Pin
jhwurmbach9-Apr-03 1:13
jhwurmbach9-Apr-03 1:13 
GeneralRe: type cast problem when going from VS6->VS.NET Pin
Mathias S.9-Apr-03 1:26
Mathias S.9-Apr-03 1:26 
GeneralRe: type cast problem when going from VS6->VS.NET Pin
Mathias S.9-Apr-03 1:29
Mathias S.9-Apr-03 1:29 
GeneralRe: type cast problem when going from VS6->VS.NET : Solved . maybe Pin
Mathias S.9-Apr-03 1:53
Mathias S.9-Apr-03 1:53 
GeneralBlinking Object Pin
SatyaDY9-Apr-03 0:31
SatyaDY9-Apr-03 0:31 
GeneralRe: Blinking Object Pin
Roger Allen9-Apr-03 3:05
Roger Allen9-Apr-03 3:05 
GeneralAsynchronously inserting large number of items into TreeView Pin
henchook8-Apr-03 23:44
henchook8-Apr-03 23:44 
I need to insert a very large number of items into a CTreeView derived control. This insertion takes a long time, so I am doing is asynchronously.

My problem is: whenever I call InsertItem, the tree selection jumps to the newly inserted item. I want to prevent this, so that my user sees the tree being built, but is able to select an item in the tree and have the selection remain on that item.

How would I go about doing this? I tried looking for and using different window styles, and I tried intercepting the TVN_SELCHANGED and TVN_SELCHANGING messages, but wasn't quite able to achieve anything...

I want it to behave sort of like IE does when you open a huge (and I mean HUGE, as in 1MB) XML file.... IE parses the file in the background, and keeps adding new nodes to it, but you are able to view whichever part of the document (that has already been loaded you want).

Thanks,
-CD
GeneralRe: Asynchronously inserting large number of items into TreeView Pin
valikac9-Apr-03 11:35
valikac9-Apr-03 11:35 
GeneralRe: Asynchronously inserting large number of items into TreeView Pin
henchook9-Apr-03 20:29
henchook9-Apr-03 20:29 
QuestionHowto set the dropped height of a combobox? Pin
Brian van der Beek8-Apr-03 23:38
Brian van der Beek8-Apr-03 23:38 
AnswerRe: Howto set the dropped height of a combobox? Pin
Roger Allen9-Apr-03 3:02
Roger Allen9-Apr-03 3:02 
GeneralMaintaining code on both VC6 and VC.NET Pin
Aza8-Apr-03 23:33
Aza8-Apr-03 23:33 
GeneralMFC. Pin
frackasse8-Apr-03 23:01
frackasse8-Apr-03 23:01 
GeneralUSB Bluetooth communication Pin
gcaboi8-Apr-03 22:41
gcaboi8-Apr-03 22:41 
QuestionMultiline Tooltips? Pin
Rob Caldecott8-Apr-03 22:33
Rob Caldecott8-Apr-03 22:33 
AnswerRe: Multiline Tooltips? Pin
Rob Caldecott8-Apr-03 23:35
Rob Caldecott8-Apr-03 23:35 
GeneralAdding MFC project to Property Sheet Pin
dandy778-Apr-03 22:27
dandy778-Apr-03 22:27 
GeneralRe: Adding MFC project to Property Sheet Pin
jhwurmbach8-Apr-03 22:58
jhwurmbach8-Apr-03 22:58 
GeneralRe: Adding MFC project to Property Sheet Pin
Joan M9-Apr-03 0:06
professionalJoan M9-Apr-03 0:06 
GeneralADO Error Pin
Toni788-Apr-03 22:21
Toni788-Apr-03 22:21 
Generalwin32 api - toolbar Pin
Anonymous8-Apr-03 21:48
Anonymous8-Apr-03 21:48 
GeneralMapping client controls messages in a CFromView Pin
Anonymous8-Apr-03 21:17
Anonymous8-Apr-03 21:17 
GeneralAdding MFC to a console application Pin
R.E.L8-Apr-03 20:42
R.E.L8-Apr-03 20:42 
GeneralRe: Adding MFC to a console application Pin
harinath8-Apr-03 22:34
professionalharinath8-Apr-03 22:34 

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.