-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Kishor
Message 2 in Discussion




Hi 
limson,

This is 
the Code 

Dim cont As New ContextMenu()
Dim 
mnuCollapseAll As MenuItem 
= New MenuItem("Collapse 
All", New 
EventHandler(AddressOf 
Me.ContextMenuClick))
mnuCollapseAll.Shortcut = 
Shortcut.CtrlL
mnuCollapseAll.ShowShortcut = True
cont.MenuItems.Add(mnuCollapseAll)

cont.MenuItems.Add("-")

Dim mnuImport As 
MenuItem = New 
MenuItem("Import", New 
EventHandler(AddressOf 
Me.ContextMenuClick))
mnuImport.Shortcut = 
Shortcut.CtrlI
mnuImport.ShowShortcut = True
cont.MenuItems.Add(mnuImport)
treeStruct.ContextMenu = 
cont



Protected Sub 
ContextMenuClick(ByVal sender As Object, ByVal e As 
System.EventArgs)

End sub

regards

Kishor 

 

 

  -----Original Message-----
From: limson 
  [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 5:12 
  PM
To: MumbaiUserGroup
Subject: Open menu from 
  treenode


  
    
      
      New Message on MumbaiUserGroup
    
      

  Open menu 
    from treenode


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 1 in 
                Discussion 
      
        
          
            
            
              From: limson 
            
              

                hi guys
                       i am working on 
                windows form vb.net application
                        how can i open a 
                menu on right click on each nodes of a treeview.
                 
                any sites reference or code will be helpful
                 
                thanks in advance
                limson
                 
                 
                 
View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to