BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is drop-down menu dropped down?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Eric Grimm
Guest





PostPosted: Wed Mar 09, 2005 4:12 pm    Post subject: Is drop-down menu dropped down? Reply with quote



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.


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.