MrLister

Context menu architecture question

1 post in this topic

Hello,

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,

or

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 ?

post-213156-1162847886_thumb.png

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.