[CS3] - TreeView node padding

Hi all,    I'm creating TreeView which is used in my PlugIn instead of ListBox which is deprecated. Now is everything working fine, I have treeView without displayed root node. But my problem is that after adding new node some nodes are moved to the right about 10px.
After pressing right arrow nodes are shifted to the left and nodes are in one vertical line.
Please could you advise me how to force that nodes won't have any padding ?
Thank you, marxin

Check the bindings of tree node widgets.

Similar Messages

  • CS3: Treeview Node Icon

    Hi all,
    I want to add Icon to treeview node.
    I have one folder, i want to list items  in treeview with ICONS.
    I tried with
    ::SHGetFileInfo(ucPath.GrabTString(), 0,&info, sizeof(info), SHGFI_ICON | SHGFI_SMALLICON | SHGFI_SHELLICONSIZE | SHGFI_TYPENAME | SHGFI_DISPLAYNAME )
    iconView->SetRsrcID((RsrcID) info.iIcon);
    but it is not working.
    Please help,
    Thanks,
    Vikram

    Put your icons in your resource file (in windows it is .rc file) and get it from there.

  • [CS3] TreeView Node Right click Contextual Menu

    Fellow Developers,
    Following is the code that I wrote in class FooPnlNodeEH : public CEventHandler to add a contextual menu. It doesnt work. Anybody has an insight what I might be doing wrong?
    bool16 FooNodeEH::RButtonDn(IEvent* e)
       do
             InterfacePtr<IApplication> theApp(gSession->QueryApplication());
             InterfacePtr<IActionManager> actionMgr(theApp->QueryActionManager());
             InterfacePtr<IMenuManager> menuMgr(actionMgr,UseDefaultIID());
             // get the coordinates based on the mouse location
             GSysPoint location = e->GlobalWhere();
             menuMgr->HandlePopupMenu(
                PMString("Do something", PMString::kEncodingASCII, PMString::kNoTranslate),
                location, location, kFalse, this);
          } while (kFalse);
       return kTrue;
    Thanks
    Jack

    This UI change is really stupid and useless. People got used to some specified menu items order. Changing this order could only annoy and anger.
    Also the reload button has been relocated. This is another example of stupid Firefox 4 UI change. The good news is that it could easily be relocated to its original place.
    It looks like the Firefox developers are suffering from idleness and boredom.
    CHANGE IT BACK ASAP!!!

  • How to blink TreeView Nodes based on condition c#

    suppose i am populating my tree view with data from database and i want to blink those nodes which has a specific data. now guide me with code how can i efficiently blink multiple tree view nodes  based on condition in winform application.

    Hi Mou_kolkata,
    >> anyone can give me small working code for tree node blinking
    Thank Armin for the details about blinking TreeView Nodes.
    For a simple demo to blink TreeView nodes, you could refer the link below:
    # Treeview control - How to make a node blink?
    https://social.msdn.microsoft.com/Forums/en-US/64e7a4d7-3098-4370-990f-390cb3a640a1/treeview-control-how-to-make-a-node-blink
    If you have issues when you blink Treeview nodes, please feel free to post a new thread in this forum, then you would get more help.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [CS2/CS3] - TreeView - display style

    Hi, I'm trying to use TreeViewWidget to use it for isnerting rows witch CheckBoxWidget + StaticTextWidget and the problem is that the default look of TreeView is with points and numbers like you can see from screenshot bellow. Please could you help me how to change this default behaviour?
    Thanks, marxin

    Thank you for your post, it was helpfull advice, now I am able to insert into TreeView CheckBoxes.I redefined TreeViewWidgetMgr and also TreeViewHierarchyAdapter, but now I'm not familiar with adding and removing nodes, there is 10 nodes if I start Plug-In ?
    Is possible to add frame to TreeView ? My last question is about observer, how to realize which checkboxes are selected, how to save this information ?
    Thank you very much, marxin

  • When using numericupdown to expand/collapse treeView nodes. Why the collapse part is not working ?

    I have a treeView in my form1 designer. The treeView variable name is: treeViewMS1
    When i'm running my program the treeView is automatic expanded to level 1:
    Now if i click on the numericUpDown and change the value to 2 then:
    So the expanded part is working fine when i change of the numericUpDown by one up the expanded is working fine.
    Now when it's on level 2 and i change the numericUpDown back to value 1 that's level 1 instead get back to my first screenshot Expanded level 1 it's getting back to the root level 0.
    and i want that the collapse part will move only one level back but it dosen't matter if i'm on expanded level 2 or 3 or 5 it will allways jump to 0 to the root.
    This is the numericUpDown value changed event:
    decimal oldValue;
    private void numericUpDown1_ValueChanged(object sender, EventArgs e)
    if (numericUpDown1.Value > oldValue)
    ExpandToLevel(treeViewMS1.Nodes, (int)numericUpDown1.Value);
    else
    CollapseToLevel(treeViewMS1.Nodes, (int)numericUpDown1.Value);
    oldValue = numericUpDown1.Value;
    ExpandToLevel method:
    void ExpandToLevel(TreeNodeCollection nodes, int level)
    if (level > 0)
    foreach (TreeNode node in nodes)
    node.Expand();
    ExpandToLevel(node.Nodes, level -1);
    And CollapseToLevel method:
    void CollapseToLevel(TreeNodeCollection nodes, int level)
    if (level > 0)
    foreach (TreeNode node in nodes)
    node.Collapse();
    CollapseToLevel(node.Nodes, level - 1);

    I solved it this way:
    I solved it like this: In the Form1_Load event i did:
    SetToLevel(treeViewMS1.Nodes, 1);
    In my case i wanted it to begin by default in level 1.
    Then in the numericupdown1 changed value event:
    private void numericUpDown1_ValueChanged(object sender, EventArgs e)
    SetToLevel(treeViewMS1.Nodes, (int)numericUpDown1.Value);
    Then the method SetToLevel:
    void SetToLevel(TreeNodeCollection nodes, int level)
    foreach (TreeNode node in nodes)
    node.Collapse(false);
    ExpandToLevel(nodes, level);
    And last the method EXpandToLevel:
    void ExpandToLevel(TreeNodeCollection nodes, int level)
    if (level > 0)
    foreach (TreeNode node in nodes)
    node.Expand();
    ExpandToLevel(node.Nodes, level -1);
    And now it's working perfect like i wanted it to work. When changing the numericupdown value it's changing the node tree expand/collapse levels.

  • Re: TreeView Node Delete

    Would anyone know of an efficient way to remove DisplayNode-type nodesfrom
    a treeview? I am trying to simply code
    DeleteTreeNode (node: DisplayNode)
    Node.parent.FirstChild = node.NextSibling;
    (DisplayNode)(Node.parent).UpdateFieldFromData;
    Node = Nil;
    However, this is not working...Node.Parent = NIL ;
    The TreeView will figure out the rest.
    =================================================
    [email protected] Stephen Semeniuk
    Sentai Advanced Research Corporation
    The moving cursor writes, and having written, blinks on.

    Geoffrey -
    You may not even want to write this method, since the following line of
    code will do just as well:
    node.Parent = NIL;
    As for the Related attribute, you can put anything you want in there; Forte
    does not use that attribute for anything. I usually use the Related
    attribute to reference the object that I am displaying. For example, if
    the tree is displaying a corporate hierarchy, the Related attribute will
    reference an Employee object.
    I am not sure what you mean by a "profound performance issue", but if you
    are concerned about storing as little data on the client as possible, there
    is a useful technique. Do not load in data for nodes that you will not be
    displaying, and then create nodes when they are needed to be displayed
    (listen for the RequestFolderOpen event). You can also handle the
    RequestFolderClose event, and then remove nodes that are not displayed.
    However, you are best off to create some tests for different numbers of
    nodes at different levels, and then see what the actual performance is.
    There are many variables that will affect performance, so you will need to
    construct a few simple scenarios. If the existing performance is
    satisfactory for the amount of data you will be viewing, then there is no
    need for additional optimizations.
    I'm happy to give you further ideas on this.
    Regards
    CSB
    At 10:47 AM 3/2/98 -0500, Geoffrey Whittington wrote:
    Would anyone know of an efficient way to remove DisplayNode-type nodes from
    a treeview? I am trying to simply code
    DeleteTreeNode (node: DisplayNode)
    Node.parent.FirstChild = node.NextSibling;
    (DisplayNode)(Node.parent).UpdateFieldFromData;
    Node = Nil;
    However, this is not working...
    Also: the attribute of 'Related' on a DisplayNode is of type Object. I
    believe that it can reference any type of object. Can someone tell me if
    there has been a known problem with using this attribute to contain
    references to other allocated objects? Is there a profound performance
    issue with a treeview with 200+ nodes?
    Thanks!
    Geoffrey Whittington
    Software Engineer, Descartes Systems Group Inc.
    [email protected]
    (519)746-8110 x2333
    Curtis Bragdon, Forte Consulting
    [email protected]
    Voice Mail: (510) 986-3807
    Paging: (888) 687-6723
    "I've seen dozens of triggering towns." - Richard Hugo

  • TreeView nodes don't display

    While working my way through the IDCS3 SDK I'm about to implement a ListBox by using TreeView. I had a working plugin displaying a panel with some static text and two RollOverIcons. Then I compiled wlistboxcomposite from the SDK samples and it worked ok too.
    I then moved over all parts relevant for the listbox from the sample, adjusted widget names, boss name classes a.s.o, but I don't get it working. The whole panel is empty (grey background) with a greyed out scrollbar on the right border: the list entries are missing.
    I've looked through everything at least twice but don't see the reason for this. RefMeTreeViewAdapter populates the StringList ok and also DoAddItem() works as I can see from a InformationAlert I hacked in for debug reasons. Unfortunately I've no debug build for further investigations.
    But maybe someone of you has an idea what can cause this symptom.
    Regards,
    Juergen

    To resolve that issue. Another few hours later I discovered I missed adding LocaleIndex for the NodeWidget resource. After that it works.
    > You should never ship a plugin without testing it in the debug build.
    Thanks for the link. I somehow doubt Adobe will hand out a debug build to a hobby coder who's still in evaluation phase. But I'll think over it.
    Juergen

  • [CS2/CS3] - TreeView observer attaching

    Hello,     I modified a sample called WLBCmp to create a list of checkboxes, but now I want to be able to observer this checkboxes selections throught my MakeNewDialogObserver which is used to observe my entire dialog. Now I added to resources:  Class {      kBaseTreeNodeWidgetBoss,      kTreeNodeWidgetBoss,      {           IID_IOBSERVER, kMakeNewDialogObserverImpl,      } },  It't working fain, but it's creating for each checkbox in my treeview extra instance of this MakeNewDialogObserver. I need to use one observer like for all other widgets on my dialog. Please does anybody know how to attach TreeView to widget to be able to observe checkboxes changes in the TreeView ?  Thanks, marxin

    You could do either:
    the keyword "static" allows to share data across all instances of your class. That would be bad programming style though.
    Create a new Interface, add that to the tree view widget, and use IWidgetParent from within the observers to find the interface.
    It is a typical beginner error to stuff all functionality into the observer. In short, if you have "state" in the observer you're wrong.
    Keep the observers lean, limit functionality to
    attach/detach/receiving
    in Update, decoding: cast from void* into something meaningful
    dispatch into functions with speaking name e.g. handleCheckboxToggled() and there
    find the responsible boss, then interface
    invoke the actual functionality in that interface
    Dirk

  • CS3: Treeview with 7 columns: Problems!

    Hi
    I like to have a listbox with 7 columns, one icon and 6 strings. I try to implement that using a treeview.
    Is that possible?
    I implemented my data model, the adapter, the widget manager: I think I have all I need. But something is wrong. When I run my plugin I have the following error message:
    "Assertion failed! ... Message: Too many char strings!!! ...".
    Any ideas?
    How can I implement a list box with more than one column? Not with the tree view?
    I have another treeview with one string, this works fine.
    Thanks for the support.
    Hans

    Hi
    I think I have found the reason for the error message. It seams to have another reason than the tree view.
    One more thing: I like to display the treeview in a panel. I have declared it in my fr-file and have implemented the classes. But there is no call to the method ApplyDataToWidget in the widget manager and the tree view isn't shown.
    I have implement it like another tree view I use in a dialog and this works.
    Any ideas?
    Thanks
    Hans

  • [CS2/CS3] - TreeView frame & ScrollBar roller

    Hello, please could anyone advise me with 2 following probles:
    1) Is it possible to insert black frame list f.e. ListBox ?
    2) Is it possible to change size of "scroller" of my own ScrollBar for which I use methods SetMaximum() to scroll my panel ?
    Thank you for your advices, marxin

    When I see resource file, there is definition of StringListData to storing names of clubs( which is in sample), should I replace it with IID_IBOOLLISTDATA to store vector of checkboxes:
    Class
            kWLBCmpListBoxWidgetBoss,
            kTreeViewWidgetBoss,
                /** Furnishes application framework with widgets as needed */
                IID_ITREEVIEWWIDGETMGR,  kWLBCmpTVWidgetMgrImpl,
                /** Adapts our data model to the needs of the application framework */
                IID_ITREEVIEWHIERARCHYADAPTER,  kWLBCmpTVHierarchyAdapterImpl,
                /** Hold names of the list item */
                IID_ISTRINGLISTDATA,        kStringListDataImpl,
                /** Adding for saving checkboxes states ? */
                IID_ISTRINGLISTDATA,        kBoolListDataImp,
                /** Display selection message */  
                  IID_IOBSERVER,    kWLBCmpListBoxObserverImpl,
    In WLBCmp sample TreeViewAdapter get strings (names) from IStringListData, but I don't know how to save the state from CBoxes and store it to this BoolListData ?
    I hope you'll have some time to help me
    Thank you, marxin

  • How to move node in treeView using two buttons ?

    Hello ,
    Am starter , and am working on a Winforms application.
    I browse an XML file , then I populate treeview in my interface. I want to move selected node in the two sens ( up and down)  using two button ( so not with events , normal drag and drop with mouse ) .
    - I select the nod 
    - I click on the up button , then the node take the new place ( something like , drop and insert maybe )
    I don't know if is possible to affect this events to button or they are another way to do this 
    this is my code concerning populating treeView :
    private void browseSourceFileBtn_Click(object sender, EventArgs e)
    var openSourceFile = openSourceFileDialog.ShowDialog();
    if (openSourceFile == DialogResult.OK)
    fichierSourcePath.Text = openSourceFileDialog.FileName;
    // Connect the XML FILE DATABASE to the application interface
    private void button1_Click(object sender, EventArgs e)
    if (openSourceFileDialog.FileName == String.Empty)
    MessageBox.Show("u should open a file", "Erreur de chargement", MessageBoxButtons.OK, MessageBoxIcon.Error);
    else
    try
    MessageBox.Show("plz wait ");
    statusLabel.Text = "Début de chargement du fichier";
    var doc = new XmlDocument();
    doc.Load(openSourceFileDialog.FileName);
    sourceTreeView.Nodes.Clear();
    var rootNode = new TreeNode(doc.DocumentElement.Name);
    sourceTreeView.Nodes.Add(rootNode);
    sourceTreeView.CheckBoxes = true;
    sourceTreeView.AllowDrop = true;
    DateTime starteTime = DateTime.Now;
    BuildNode(doc.DocumentElement, rootNode);
    DateTime endTime = DateTime.Now;
    TimeSpan duree = endTime - starteTime;
    sourceTreeView.ExpandAll();
    sourceTreeView.Nodes[0].EnsureVisible();
    string chargementTemps = "" + duree.Minutes + "min : " + duree.Seconds + "s : " + duree.Milliseconds + "ms";
    statusLabel.Text = "Chargement effectué avec succés en :" + chargementTemps;
    catch (Exception)
    sourceTreeView.Nodes.Clear();
    statusLabel.Text = "Echec de chargement";
    thanks u a lot 

    Hi Nico68er,
    According to your description, you'd like to move up or down the node in TreeView.
    By reseraching, I found this post in StackOverFlow is similar with your issue.http://stackoverflow.com/questions/2203975/move-node-in-tree-up-or-down
    From this answer.
    You can use the following extensions
    public static class Extensions
    public static void MoveUp(this TreeNode node)
    TreeNode parent = node.Parent;
    TreeView view = node.TreeView;
    if (parent != null)
    int index = parent.Nodes.IndexOf(node);
    if (index > 0)
    parent.Nodes.RemoveAt(index);
    parent.Nodes.Insert(index - 1, node);
    else if (node.TreeView.Nodes.Contains(node)) //root node
    int index = view.Nodes.IndexOf(node);
    if (index > 0)
    view.Nodes.RemoveAt(index);
    view.Nodes.Insert(index - 1, node);
    public static void MoveDown(this TreeNode node)
    TreeNode parent = node.Parent;
    TreeView view = node.TreeView;
    if (parent != null)
    int index = parent.Nodes.IndexOf(node);
    if (index < parent.Nodes.Count -1)
    parent.Nodes.RemoveAt(index);
    parent.Nodes.Insert(index + 1, node);
    else if (view != null && view.Nodes.Contains(node)) //root node
    int index = view.Nodes.IndexOf(node);
    if (index < view.Nodes.Count - 1)
    view.Nodes.RemoveAt(index);
    view.Nodes.Insert(index + 1, node);
    Child nodes will follow their parents.
    You could use this class in your program.
    If you want to move the node up. Call the Extensions.MoveUp(this.treeView1.SelectNode)
    private void button1_Click(object sender, EventArgs e)
                if (this.treeView1.SelectedNode != null)
                    Extensions.MoveUp(this.treeView1.SelectedNode);
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Is it possible to change TreeView's background color, not node color?

    In advance, Thanks!!
    Actually, I've made my own treeview in my project. and  I've changed my treeview node color as i want
    I wonder whether or not to change treeview's background color, not node color in below class.
    // in ~.fr
    Class
      kMyTreeViewWidgetBoss,
      kTreeViewWidgetBoss,
         IID_ICONTROLVIEW,                    kMyTreeViewCtrlViewImpl,  
         IID_ITREEVIEWWIDGETMGR,      kMyTreeViewListBoxWidgetMgrImpl,
         IID_ITREEVIEWHIERARCHYADAPTER,  kMyTreeViewListBoxHierarchyAdapterImpl,
         IID_ISTRINGLISTDATA,                          kStringListDataImpl,
         IID_IOBSERVER,                                  kMyTreeViewCtrlBoxObserverImpl,
    type MainTreeViewListBox(kViewRsrcType)       : TreeViewWidget    (ClassID = kMyTreeViewWidgetBoss)  {};
    MainTreeViewListBox   //Tree view
               kMyTreeViewWithTextListWidgetID, kPMRsrcID_None, // WidgetId, RsrcId
               kBindAll,           // Frame binding
               Frame(-1, 26, 300, 276)  // Frame
               kTrue, kTrue,         // Visible, Enabled
               kTrue,       // EraseBeforeDraw
               kInterfacePaletteFill,   // InterfaceColor
               kHideRootNode,// | kDrawEndLine, // Options. Display root node
               kFalse,  // Use H Scroll bar
               kTrue,  // Use V scroll bar
               20,   // fVScrollButtonIncrement
               20,   // fVThumbScrollIncrement
               0,   // fHScrollButtonIncrement
               0,   // fHThumbScrollIncrement
               2,   // Items selectable, 0 = No Selection, 1 = Single Selection, 2 = Multiple Selection
               kFalse,  // Allow children from multiple parents to be selected
               kTrue,  // Allow discontiguous selection
                //The tree view is dynamically created. 
    class MyTreeViewCtrlView : public PanelView
    virtual void   Draw(IViewPort* viewPort, SysRgn updateRgn);
    void MyTreeViewCtrlView::Draw( IViewPort*  viewPort, SysRgn  updateRgn )
       AGMGraphicsContext gc(viewPort, this, updateRgn);
      InterfacePtr<IGraphicsPort>  gPort(gc.GetViewPort(), UseDefaultIID()); // IID_IGRAPHICSPORT);
      ASSERT(gPort);
      gPort->gsave();
      PMRect frameOut      = GetFrame();
      frameOut.MoveTo(0, 0);
      COLORREF crBackColor    = RGB( 255, 0, 0 );
      gPort->setrgbcolor( GetRGBtoReal( GetRValue(crBackColor) ), GetRGBtoReal( GetGValue(crBackColor) ), GetRGBtoReal( GetBValue (crBackColor) ));
    gPort->rectpath(frameOut);
    gPort->fill();
    gPort->grestore();
    PanelView::Draw( viewPort, updateRgn );
    In above case, there are errors in kMyTreeViewCtrlViewImple when Indesign is launching.
    // Error Assert
    XferObject- ReadWrite for impl kMyTreeViewCtrlViewImpl of iid IID_ICONTROLVIEW in class kMyTreeViewWidgetBoss read wrong amount in plugin kMyTreeViewWidgetBoss
    but, in kMyTreeViewWidgetBoss ClassDescriptionTable, when remove this( IID_ICONTROLVIEW, kMyTreeViewCtrlViewImpl), that's ok. but I can't change background color. just interfacepalettefill color
    Please help me!!

    Here's a sample!
    That's all.
    #define GetRGBtoReal( X )   (double) X / (double) 255.f
    COLORREF crBackColor    = RGB( 255, 0, 0 );
    gPort->setrgbcolor( GetRGBtoReal( GetRValue(crBackColor) ), GetRGBtoReal( GetGValue(crBackColor) ), GetRGBtoReal( GetBValue(crBackColor) ));

  • Treeview control - How to make a node blink?

    Hi,
    Is there a "elegant" way to make blink a treeview node?
    I am thinking to use a timer with the collection of nodes that I want to make the blink effect, and update the icon ...

    Hi,
    You can develop your custom control for this purpose. The logic you mentioned was correct. Here is a sample control that I developed by the logic you mentioned.
    public class BlinkingTreeView : TreeView
    private Timer t = new Timer();
    private List<TreeNode> blinkingNodes = new List<TreeNode>();
    public BlinkingTreeView()
    t.Interval = 1000;
    t.Tick += new EventHandler(t_Tick);
    bool isNodeBlinked = false;
    void t_Tick(object sender, EventArgs e)
    foreach (TreeNode tn in blinkingNodes)
    if (isNodeBlinked)
    //update Icon
    tn.Text = tn.Text.Substring(0, tn.Text.Length - 1);//to test
    isNodeBlinked = false;
    else
    //update Icon
    tn.Text = tn.Text + "*";//to test
    isNodeBlinked = true;
    public void AddBlinkNode(TreeNode n)
    blinkingNodes.Add(n);
    public void RemoveBlinkNode(TreeNode n)
    blinkingNodes.Remove(n);
    public void ClearBlinkNodes()
    blinkingNodes.Clear();
    public List<TreeNode> BlinkingNodes
    get { return blinkingNodes; }
    public int BlinkInterval
    get { return t.Interval; }
    set { t.Interval = value; }
    public void StartBlinking()
    isNodeBlinked = false;
    t.Enabled = true;
    public void StopBlinking()
    t.Enabled = false;

  • How to blick tree view few specific nodes

    here i got a code which show how to blink tree view node but i am confuse that how to blink few node.
    Answered by:
    Avatar of Tamer Oz
    20,185
    Points
    Top 0.5
    Tamer Oz
    Partner Joined Sep 2009
    2
    8
    17
    Tamer Oz's threads
    Show activity
    Treeview control - How to make a node blink?
    Visual Studio Languages
    .NET Framework
    >
    Visual C#
    Question
    Alert me
    Question
    Vote as helpful
    0
    Vote
    Hi,
    Is there a "elegant" way to make blink a treeview node?
    I am thinking to use a timer with the collection of nodes that I want to make the blink effect, and update the icon ...
    Friday, November 06, 2009 6:19 PM
    Reply
    |
    Quote
    |
    Report as abuse
    Avatar of Kikeman
    Kikeman
    R. BOSCH
    105 Points
    All replies
    Question
    Vote as helpful
    0
    Vote
    Hi,
    You can develop your custom control for this purpose. The logic you mentioned was correct. Here is a sample control that I developed by the logic you mentioned.
    public class BlinkingTreeView : TreeView
    private Timer t = new Timer();
    private List<TreeNode> blinkingNodes = new List<TreeNode>();
    public BlinkingTreeView()
    t.Interval = 1000;
    t.Tick += new EventHandler(t_Tick);
    bool isNodeBlinked = false;
    void t_Tick(object sender, EventArgs e)
    foreach (TreeNode tn in blinkingNodes)
    if (isNodeBlinked)
    //update Icon
    tn.Text = tn.Text.Substring(0, tn.Text.Length - 1);//to test
    isNodeBlinked = false;
    else
    //update Icon
    tn.Text = tn.Text + "*";//to test
    isNodeBlinked = true;
    public void AddBlinkNode(TreeNode n)
    blinkingNodes.Add(n);
    public void RemoveBlinkNode(TreeNode n)
    blinkingNodes.Remove(n);
    public void ClearBlinkNodes()
    blinkingNodes.Clear();
    public List<TreeNode> BlinkingNodes
    get { return blinkingNodes; }
    public int BlinkInterval
    get { return t.Interval; }
    set { t.Interval = value; }
    public void StartBlinking()
    isNodeBlinked = false;
    t.Enabled = true;
    public void StopBlinking()
    t.Enabled = false;
    just show me how to use BlinkingTreeView class. i will have tree view which will have few node and few nodes may have few child nodes. now how to achieve by this class BlinkingTreeView and show me how to blink few specific node not all. thanks

    better to come with code. first populate tree view with some dummy node this way
    Root
           Child1
                    Child1-sub1
                    Child1-sub2
           Child2
                    Child2-sub1
                    Child2-sub2
    now blink Child1-sub2 & Child2-sub1. please come with code. thanks

Maybe you are looking for

  • Custom report parameter references

    Dear All, I have a custom report with two parameters FROM_PRAM TO_PRAM Both parameters have same SET_OF_VALUES. I want to apply check on parameter level that TO_PRAM value should not less than FROM_PRAM.

  • SQL Video Tutorial

    Hai I learnt crystal reports through sdn elearning catalog,sample files and crystal report user guide Since i am a Electronics(ECE) background,i dont know sql So could to tell me ,what are all the topics i need to cover in SQL,related to sap Crystal

  • Transfer rules

    hi, wt is the difference between Transfer rules and update rules

  • All pictures deleted after software update?

    I NEED HELP after having done a regular software update, my macbook didn't start up anymore. so I had to reinstall everything. the programm iphoto and the pictures that were in it were gone atferwards. so does anyone know if I my photos do still exis

  • Hide Sub-Navigation On Mouse Out?

    Can anyone figure this one out? I'm completely stuck on this - I need the subnavigation to hide on mouse out. If the user rolls over the main navigation - the sub pops up and is very annoying and confusing to the viewer. I can get the subnavigation t