CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: tim8w123

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    562

    Adding a BackgroundImage to a TreeView

    Hi,

    I am trying to add a BackgroundImage to a TreeView. It looks like the only way this will work is to Inherit from TreeView and override OnPaintBackground(System.Windows.Forms.PaintEventArgs...
  2. Re: Inserting Text to the beginning of a RichTextBox maintaining colors

    Looks like it works if I change the order a bit:



    txtStatusLog.SelectionStart = 0
    txtStatusLog.SelectionLength = 0
    txtStatusLog.SelectionColor = Color.Red
    txtStatusLog.SelectedText =...
  3. Inserting Text to the beginning of a RichTextBox maintaining colors

    I have the following code:


    txtStatusLog.SelectionStart = 0
    txtStatusLog.SelectionLength = 0
    txtStatusLog.SelectedText = ("ERROR: " & MyUpdate & "(" & Now & ")" & vbCrLf)...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured