|
-
Combo Box & Mouse
Is there any way to stop the highlighted item in a combobox from changing
when the mouse is moved over the list portion of the combo box? I want it
only to change only when the user actually clicks the combo box or pressed
the arrow keys. (Just like the VB16 Combo Box.)
Thank you,
Jody Kelsch
-
Re: Combo Box & Mouse
Jody:
I'd probably do it by subclassing the drop down window and throwing away the
mousemove events.
Of course, that's also easier said than done. You'll have to get the handle of
the drop down window using API
techniques. Then it might be that you'll need to use a hook rather than
subclassing depending on how the
control responds to the message. But ultimately it should be possible to do.
Our SpyWorks package (www.desaware.com) has example code that is similar for
working with combo boxes.
Best of luck
Dan
Jody Kelsch wrote:
> Is there any way to stop the highlighted item in a combobox from changing
> when the mouse is moved over the list portion of the combo box? I want it
> only to change only when the user actually clicks the combo box or pressed
> the arrow keys. (Just like the VB16 Combo Box.)
>
> Thank you,
> Jody Kelsch
Similar Threads
-
By Debora in forum ASP.NET
Replies: 3
Last Post: 04-12-2007, 07:10 AM
-
By Ernie in forum VB Classic
Replies: 2
Last Post: 02-04-2003, 01:12 PM
-
By Larry Muller in forum VB Classic
Replies: 1
Last Post: 02-24-2001, 10:12 PM
-
By Kevin McCormack in forum VB Classic
Replies: 4
Last Post: 07-20-2000, 03:14 PM
-
By Kevin McCormack in forum VB Classic
Replies: 0
Last Post: 07-20-2000, 10:03 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks