By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,725 Members | 1,088 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,725 IT Pros & Developers. It's quick & easy.

ContextMenu

P: n/a
Gday,

Ive added a contextmenu to my form and added some text to the drop down
list.
I have a treeview control where I want to use this context menu function.

This is as far as I have got. Ive added some text to the contextmenu object
but where do I go from there? When i right click on a node in the treeview
control at runtime there is no pop menu. So how do I get this thing to popup
and how do i get a click event going for whatever selection Ive made?

Thanks,
Grant

Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You should attach context menu to treeview, not the form.

HTH
Alex

"Grant" <gp*****@hotmail.com> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl...
Gday,

Ive added a contextmenu to my form and added some text to the drop down
list.
I have a treeview control where I want to use this context menu function.

This is as far as I have got. Ive added some text to the contextmenu object but where do I go from there? When i right click on a node in the treeview
control at runtime there is no pop menu. So how do I get this thing to popup and how do i get a click event going for whatever selection Ive made?

Thanks,
Grant

Nov 16 '05 #2

P: n/a
Jaw
hi,
how can i know where the control object occurring the pop-up menu in smartdev?
I know that context menu in win 32 have a member " Source Control" , but no such
a member in smartdev, how can I got it ?

"AlexS" wrote:
You should attach context menu to treeview, not the form.

HTH
Alex

"Grant" <gp*****@hotmail.com> wrote in message
news:OC**************@TK2MSFTNGP09.phx.gbl...
Gday,

Ive added a contextmenu to my form and added some text to the drop down
list.
I have a treeview control where I want to use this context menu function.

This is as far as I have got. Ive added some text to the contextmenu

object
but where do I go from there? When i right click on a node in the treeview
control at runtime there is no pop menu. So how do I get this thing to

popup
and how do i get a click event going for whatever selection Ive made?

Thanks,
Grant


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.