🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #15695

Re: Help : Keuzevenster openen in VBA

#15695
From: Goofy
Date: Wed, 23 Aug 2000 04:54
40 lines
2068 bytes
Waarom steeds API's gebruiken als het met een simple SendKeys ook gaat

Goofy

"mp" <mpatteet@yucom.be> schreef in bericht
news:MDyyQKHDAHA.393@btbntsys4...
> Ik neem aan dat je een 'ComboBox' bedoelt ?
> Zet de volgende declaraties in een module:
>
> Public Declare Function SendMessage Lib "USER32" Alias "SendMessageA"
(ByVal
> hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As
> Long
>
> Public Const WM_USER = &H400
> Public Const CB_SHOWDROPDOWN = WM_USER + 15
>
> De volgende regel rolt het keuzevak open:
>
> Dim U as Long
> U = SendMessage(cboTest.hWnd, CB_SHOWDROPDOWN, 1, ByVal 0&)
>
> waarbij cboTest de naam is van je keuzevak.
>
> Marc Patteet
>
> "Jurgen" <sani.centrum@unicall.be> wrote in message
> news:8npgu8$ov3$1@trex.antw.online.be...
> > Betaat er een code om een keuzeventser open te rollen via bv pijltje
naar
> > beneden.Dit als het keuzevenster met invoervak de focus heeft ?
> >
> > mail : sani.centrum@unicall.be
> >
> >
> > bedankt voor de moeite
> >
> >
>
>
Technical Details
Message-ID: <xOIo5.188781$Fw6.4047642@afrodite.telenet-ops.be>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.online.be!newsfeeds.belnet.be!news.belnet.be!afrodite.telenet-ops.be!not-for-mail
References: <8npgu8$ov3$1@trex.antw.online.be> <MDyyQKHDAHA.393@btbntsys4>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,9af85e6be42c05cb
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2000-08-22 21:54:56 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed.online.be!newsfeeds.belnet.be!news.belnet.be!afrodite.telenet-ops.be!not-for-mail
From: "Goofy" <goofy-eatthis-@yucom.be>
Newsgroups: be.comp.programming
References: <8npgu8$ov3$1@trex.antw.online.be> <MDyyQKHDAHA.393@btbntsys4>
Subject: Re: Help : Keuzevenster openen in VBA
Lines: 42
Organization: Surf2Disney
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <xOIo5.188781$Fw6.4047642@afrodite.telenet-ops.be>
Date: Wed, 23 Aug 2000 04:54:53 GMT
NNTP-Posting-Host: 213.224.13.78
X-Trace: afrodite.telenet-ops.be 967006493 213.224.13.78 (Wed, 23 Aug 2000 06:54:53 MET DST)
NNTP-Posting-Date: Wed, 23 Aug 2000 06:54:53 MET DST