🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual
Article #142

Re: Popup menu with Combo Box

#142
From: GUILLEMIN
Date: Thu, 04 Nov 1999 00:00
43 lines
2061 bytes
In article <7vqv2d$a37$1@holly.prod.itd.earthlink.net>, 

Hi there !
In VB 5 there is a cool sample to use POPUPMENU :
which i use in a listbox :
the given source is :

Private Sub Form_MouseDown (Button As Integer, Shift As Integer, X As 
Single, Y As Single)
	If Button = 2 Then '2=right mouse button :)
		PopupMenu mnuFile
	End If
End Sub

my app which uses this is on www.multimania.com/gedd123 (application to 
convert CDA to MP3 :)
See ya 

Gerome

mailto: gedd123@pop.multimania.com

************

srothwell@earthlink.net says...
> I need help figuring out how to make a "right-click" popup menu on a
> dropdown list box/combo box.
> 
> As you're probably aware, the Dropdown list/combo box component is about the
> only one that doesn't have a MouseUp or MouseDown event, which is usually
> used to activate the popup menu.
> 
> Does anyone know another way to do this?  (even with a new component from a
> third party)
> 
> Thanks for any help!
> 
> Stacy Rothwell
> Atlanta, GA
> 
> 
> 
> 
Technical Details
Message-ID: <MPG.128c065ee27c0cc7989686@news.iway.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7vqv2d$a37$1@holly.prod.itd.earthlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 100d42,2e5a6794ed5f4d71
X-Google-Attributes: gid100d42,public
X-Google-Thread: f645d,2e5a6794ed5f4d71
X-Google-Attributes: gidf645d,public
X-Google-Thread: f5f6f,2e5a6794ed5f4d71
X-Google-Attributes: gidf5f6f,public
X-Google-Thread: 108062,2e5a6794ed5f4d71
X-Google-Attributes: gid108062,public
X-Google-Thread: 111c14,2e5a6794ed5f4d71
X-Google-Attributes: gid111c14,public
From: gedd123@pop.multimania.com (GUILLEMIN)
Subject: Re: Popup menu with Combo Box
Date: 1999/11/04
Message-ID: <MPG.128c065ee27c0cc7989686@news.iway.fr>
X-Deja-AN: 544521078
References: <7vqv2d$a37$1@holly.prod.itd.earthlink.net>
X-Complaints-To: abuse@fr.uu.net
X-Trace: jaydee.iway.fr 941746151 13562 212.208.149.200 (4 Nov 1999 20:09:11 GMT)
Organization: BVRP
NNTP-Posting-Date: 4 Nov 1999 20:09:11 GMT
Newsgroups: comp.lang.basic.visual,comp.lang.basic.visual.3rdparty,cz.comp.lang.basic.visual,microsoft.public.basic.other,no.it.programmering.visual-basic