Click here to Skip to main content
15,918,125 members
Home / Discussions / C#
   

C#

 
GeneralRe: RichTextBox - Making som text bold? Pin
Rickard Andersson201-May-02 10:07
Rickard Andersson201-May-02 10:07 
GeneralFurther more... Pin
1-May-02 5:27
suss1-May-02 5:27 
GeneralGetting the windows key Pin
DeadWisdom1-May-02 4:32
DeadWisdom1-May-02 4:32 
GeneralRe: Getting the windows key Pin
Nish Nishant1-May-02 12:41
sitebuilderNish Nishant1-May-02 12:41 
QuestionComboBox ReadOnly? Pin
1-May-02 4:30
suss1-May-02 4:30 
AnswerRe: ComboBox ReadOnly? Pin
Sabran1-May-02 7:45
Sabran1-May-02 7:45 
GeneralRe: ComboBox ReadOnly? Pin
Nish Nishant1-May-02 12:44
sitebuilderNish Nishant1-May-02 12:44 
GeneralTreeView Problem Pin
Serge R1-May-02 2:51
Serge R1-May-02 2:51 
My problem is regarding the refresh of the controls in .net (tree view).

In MFC I had a tool that loaded up all the folders of a drive and there size. This was done with a tree view control, in the main loop where all the folders were read, after that the new folder was added to the control or any text was changed, I just process any pending messages and the end result was excellent.

But in .net when I do the exact same thing each time that I add a new node or change the text of an old node (to update the size of the folder) the entire tree view is redrawn, I get the nice flickering effect… I process any pending messages with the “Application.DoEvents()” function, is that my problem? Is it a property I have to change?? I mean why in MFC I didn’t have to take this in consideration but in .net I have to??? In MFC when I added a new node or change the text of a node it just updated that node.

I’m kind of disappointed. Frown | :(
GeneralRe: TreeView Problem Pin
James T. Johnson1-May-02 7:19
James T. Johnson1-May-02 7:19 
GeneralRe: TreeView Problem Pin
Serge R1-May-02 7:40
Serge R1-May-02 7:40 
GeneralRe: TreeView Problem Pin
James T. Johnson1-May-02 7:50
James T. Johnson1-May-02 7:50 
GeneralRe: TreeView Problem Pin
Serge R1-May-02 8:02
Serge R1-May-02 8:02 
GeneralRe: TreeView Problem Pin
Neil Van Note1-May-02 7:39
Neil Van Note1-May-02 7:39 
GeneralRe: TreeView Problem Pin
Serge R1-May-02 7:48
Serge R1-May-02 7:48 
GeneralRe: TreeView Problem Pin
1-May-02 12:20
suss1-May-02 12:20 
Question??? Pin
1-May-02 1:28
suss1-May-02 1:28 
AnswerRe: ??? Pin
Nick Parker1-May-02 3:05
protectorNick Parker1-May-02 3:05 
GeneralCrystal Report Pin
BLaZiNiX30-Apr-02 17:23
BLaZiNiX30-Apr-02 17:23 
GeneralRe: Crystal Report Pin
Nick Parker30-Apr-02 17:59
protectorNick Parker30-Apr-02 17:59 
QuestionHow do i...... Pin
Ollie30-Apr-02 11:44
Ollie30-Apr-02 11:44 
AnswerRe: How do i...... Pin
Ollie30-Apr-02 23:27
Ollie30-Apr-02 23:27 
GeneralReadOnly for UserControl Pin
30-Apr-02 11:39
suss30-Apr-02 11:39 
GeneralRe: ReadOnly for UserControl Pin
Nish Nishant30-Apr-02 14:19
sitebuilderNish Nishant30-Apr-02 14:19 
GeneralRe: ReadOnly for UserControl Pin
James T. Johnson30-Apr-02 16:30
James T. Johnson30-Apr-02 16:30 
GeneralProcess Messages Pin
Serge R30-Apr-02 10:41
Serge R30-Apr-02 10:41 

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.