🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7167

Is drop-down menu dropped down?

#7167
From: Eric Grimm
Date: Wed, 09 Mar 2005 16:12
15 lines
1978 bytes
Is there any way to determine whether a drop-down menu from the main menu is 
currently dropped down? The situation arises because I have a couple of 
custom cursors, which appear when the mouse is moved over certain portions 
of the form. Their appearance (vs. the default cursor) is set in the 
OnMouseMove event handler. The problem arises when a main menu item is 
clicked and the cursor is then moved down the drop-down menu. If the 
drop-down menu covers part of the form with the custom cursor, the custom 
cursor appears, rather than the normal arrow cursor I'd want for making a 
menu selection. Even though the drop-down menu is active, the OnMouseMove 
event handler for the underlying form is still active. I can think of some 
unwieldy fixes, but the easy one would be if within the OnMouseMove event 
handler I could just query as to whether any of the drop-down menus from the 
main menu are active. Many thanks in advance.

Eric G. 
Technical Details
Message-ID: <422f206c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d9d8ed3e084b1a35,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Eric Grimm" <ejmgrimm@worldnet.att.net>
From: "Eric Grimm" <ejmgrimm@worldnet.att.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Is drop-down menu dropped down?
Date: Wed, 9 Mar 2005 10:12:30 -0600
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 12.74.46.151
Message-ID: <422f206c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110384748 12.74.46.151 (9 Mar 2005 08:12:28 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail