Hi, ALL
Does anybody know how to capture mouse wheel events in C# occured on the
control that natively does not suppot them (e.g. MS Flex Grid)? I have code
hooks windows messages in VB6. I've translated it into C#, but it does not
work :-(
Any another idea?
Thanks
Evgueny 2 7511
Firstly porting from VB6 to C# is not so good, a rewerite is better due to
the fast differences in the two languages ... not sure about the mouse
scroll though... *scratches his head and starts googling*
"Evgeny Zoldin" <ez*****@hotmai l.com> wrote in message
news:Ot******** ******@TK2MSFTN GP11.phx.gbl... Hi, ALL
Does anybody know how to capture mouse wheel events in C# occured on the control that natively does not suppot them (e.g. MS Flex Grid)? I have
code hooks windows messages in VB6. I've translated it into C#, but it does not work :-(
Any another idea?
Thanks Evgueny
OK, I found code from MSDN, use it. It hooks WH_MOUSE hook, I could refine
it and hooked WHEEL event only, but I couldn't define the direction and
"amount" of wheel rotation because standard mouse hook returns pointer to
MOUSEHOOKSTRUCT which does not contait that info... :-(
"Mitchell Geere" <mg****@telkoms a.net> wrote in message
news:e8******** *****@tk2msftng p13.phx.gbl... Firstly porting from VB6 to C# is not so good, a rewerite is better due to the fast differences in the two languages ... not sure about the mouse scroll though... *scratches his head and starts googling*
"Evgeny Zoldin" <ez*****@hotmai l.com> wrote in message news:Ot******** ******@TK2MSFTN GP11.phx.gbl... Hi, ALL
Does anybody know how to capture mouse wheel events in C# occured on the control that natively does not suppot them (e.g. MS Flex Grid)? I have code hooks windows messages in VB6. I've translated it into C#, but it does
not work :-(
Any another idea?
Thanks Evgueny
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Evgeny Zoldin |
last post by:
Hi, ALL
Does anybody know how to capture mouse wheel events in C# occured on the
control that natively does not suppot them (e.g. MS Flex Grid)? I have code
hooks windows messages in VB6. I've translated it into C#, but it does not
work :-(
Any another idea?
Thanks
|
by: Vikram Bhatia |
last post by:
1. Is there an event to capture scrolling using mouse wheel in
Netscape 6.x?
2. When arrow keys are used to scroll a page in Netscape 6.x, the
scrolling offsets obtained using 'window.pageXOffset' and
'window.pageYOffset' are not correct. Is there any other way to get
the correct scrolling offsets?
|
by: Bryan Masephol |
last post by:
Hi All
I got a datagrid and a ComboBox on a form. I populate the combobox with
years for all the data avaiable. When the user chooses a year the datagrid
is populated with the specific years information.
Problem... when the users scrolls the datagrid with the mouse wheel it work
for 2 wheel clicks and then for some reason the focus jumps to the combobox
and the year is then changes there for causing the data to change and errors...
|
by: Anders Eriksson |
last post by:
Hello!
I have a program with three views
------------------------------------
| | |
| 1 | 2 |
| | |
| |--------------------------|
| | |
|
by: 6tc1 |
last post by:
Hi all, I've got a UserControl that contains a few PictureBox objects.
If I click on outside of the Picture in the UserControl, the scrolling
with the mouse button works - however, no amount of clicking on the
PictureBox objects will get that scrolling working. However, after I
click on outside of the PictureBox object, then click as many times as
I like on the PictureBox the scrolling with the mouse wheel continues
to work.
I found...
| |
by: James Bond |
last post by:
Hello. My 80+ year old father has recently decided to get his first
computer. Due to his age (and I suspect lack of playing pong as a child
like I did) he lacks the manual dexterity to use a mouse well. He is
frequently missing the left mouse button and hitting the right, or less
often the middle (wheel) buttons. While he is very slowly getting better
with practice, the frustration level is high for him as a result of this
(he gets very...
|
by: Nick |
last post by:
Hey guys,
I have 2 events on a windows forms datagrid, the mouse move as well as the
double click events.
What's happening is that when I double click on a row in the grid, the mouse
move event gets triggered and the double click is not identified at all.
Is there any way I can invoke the double click when the mouse move also
exists?
|
by: ingmar |
last post by:
Hi,
how do I register my Mouse wheel handler in my main VB .net 2005 form?
My function
Private Sub Me_MouseWheel(ByVal sender As Object, ByVal e As
System.Windows.Forms.MouseEventArgs) Handles Me.MouseWheel
never gets called. What do I need to do to tell VB that this function
should handle the mouse wheel event?
|
by: Gamey |
last post by:
I have an application that NEEDS (don't ask) to handle additional mouse and
keyboard processing during DoDragDrop. Normally, DoDragDrop kindly squashes
all keyboard and mouse events. Alternate, more specific events, are used in
their stead such as DragEnter, DragLeave, DragHover, GiveFeedback, and
QueryContinueDrag. None of these give me access to the general state of the
keyboard or to mouse events ( in my case I really need the mouse...
|
by: effendi |
last post by:
Is it possible for me to disable the wheel scroll in a mouse when user
click on a drop-down list?
Thanks
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |