Jump to content


Context menu architecture question

- - - - -

  • Please log in to reply
No replies to this topic




  • Members
  • Pip
  • 1 posts
  • Devices:null

I am developing a windows mobile application for the pocket pc 2003 framework and I would like to make a context menu. Sounds easy right... well here is the catch - the context menu needs to be shown from within a user control (UserControl2). Again sounds easy right... but wait there is more. the user control is contained within another user control (UserControl1), something like in the attached file

So what I would like to do is either create a menu resource that I can load from either user control, modifying the contents of the context menu with respect to which control it is brought up in,


have UserControl2 fire an event to UserControl1 indicating the context menu should be shown.

The context menu shall be shown when the user right clicks where the "x"'s are

What would you suggest as a solution for this problem ?

Attached Files

  • Attached File  UC.PNG   1.45KB   20 downloads

  • 0

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users