CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Context menu

  1. #1
    Join Date
    Nov 2002
    Posts
    17

    Context menu

    Hi,
    I am working on windows application in C#, i am using a user control, and in turn using the user control in my Winform.

    Winform can have more than one instances of User ctrl.

    NOw, i have a context menu on my user control, at runtine , when i click on any Item of context menu, i want to know the parent of context Menu(which should be my user control ) but its not behaving as expected,can somebody pls explain, how to find the parent of context menu ??

    Thanks in advance,

  2. #2
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    any control has a

    Tag property u can set objects to that Tag so you can link parent to context menu...

    Paresh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured