Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to know how can i use a Form as a contextmenu.
If anybody know it please tell me

What I have tried:

I have Tried to make a form as a popup usin WSEXNOACTIVATE.
But it didn't work.
Posted
Updated 3-Feb-19 10:32am
Comments
Maciej Los 3-Feb-19 16:24pm    
Can you be more specific and provide more details about your issue?
Please, use "Improve question" widget.

 
Share this answer
 
Comments
Maciej Los 3-Feb-19 16:22pm    
Rick, the link you've provided refers to ContextMenu...
As far as i understand, OP want to use WinForm as popup menu.
Seems you're looking for: Popup window in winform c# - Stack Overflow[^]. Take a deep look at solution provided by Philip Stuyck, but seems you can achieve that much, much easier. You can add another form (let say: MyPopupForm) and show it in non-modal mode:
VB
Dim myPopup As MyPopupForm = New MyPopupForm()
myPopup.Show(Me) 'shows another form in non-modal mode
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900