15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


OLE Controls, Stock Events and WM_MOUSEMOVE

Joao Marcos Melo Mendes -- jmmm@megamedia.pt
Tuesday, January 21, 1997

Hello, all, :)

Environment: Win95, VC++ 4.2b

Does anyone know of any problems regarding the stock implementation of 
MouseMove as an OLE Event?
I have no trouble whatsoever adding Click, MouseDown, etc... as stock 
events, but MouseMove simply does nothing.
I've tried with and without OLEMISC_ACTIVEWHENVISIBLE and 
pointerInactive, all to no avail.

Any thoughts?...

                                        Joao Mendes
                                        MegaMedia, S.A.

"We're fools to make war on our brothers in arms." - Mark Knopfler

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQBNAzKu3TgAAAECAL8+YSEFZ0XrlBMu9t2xDq3rhpWZoscP83VrX5MevAm3UOd6
fOtDKsJxsWugnVMexo50NfBjeWOHz5nA1b9hYx0ABRG0H0pvYW8gTWVuZGVzIDxq
bW1tQG1lZ2FtZWRpYS5wdD4=
=sspP
-----END PGP PUBLIC KEY BLOCK-----





Joao Marcos Melo Mendes -- jmmm@megamedia.pt
Thursday, January 23, 1997

[Mini-digest: 2 responses]

Hello, again.:)

Environment: Win95, VC++ 4.2b

On Tue, 21 Jan 1997, Joao Marcos Melo Mendes wrote:

> Does anyone know of any problems regarding the stock implementation of 
> MouseMove as an OLE Event?

In case anyone is wondering, the problem was of an entirely different 
nature. My control was not receiving any MouseMove messages at all, 
because it was coded as a subclassed CStatic control, and CStatic filters 
these messages...:|

                                        Joao Mendes
                                        MegaMedia, S.A.

"We're fools to make war on our brothers in arms." - Mark Knopfler

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQBNAzKu3TgAAAECAL8+YSEFZ0XrlBMu9t2xDq3rhpWZoscP83VrX5MevAm3UOd6
fOtDKsJxsWugnVMexo50NfBjeWOHz5nA1b9hYx0ABRG0H0pvYW8gTWVuZGVzIDxq
bW1tQG1lZ2FtZWRpYS5wdD4=
=sspP
-----END PGP PUBLIC KEY BLOCK-----

-----From: Chris Marshall 

Environment: Win95, VC++ 4.2b


I have been able to add the MouseMove event and it seems to work.  I have=
 used the Stock Event without making any changes.

However if I move the mouse from left to right in a straight line that =
the value for Y suddenly starts to drop....

I was wondering if anyone knew why this was.

Chris

On Tue, 21 Jan 1997 10:05:51 +0000 (GMT), you wrote:

>Hello, all, :)
>
>Environment: Win95, VC++ 4.2b
>
>Does anyone know of any problems regarding the stock implementation of=20
>MouseMove as an OLE Event?
>I have no trouble whatsoever adding Click, MouseDown, etc... as stock=20
>events, but MouseMove simply does nothing.
>I've tried with and without OLEMISC_ACTIVEWHENVISIBLE and=20
>pointerInactive, all to no avail.
>
>Any thoughts?...
>
>                                        Joao Mendes
>                                        MegaMedia, S.A.
>
>"We're fools to make war on our brothers in arms." - Mark Knopfler
>
>-----BEGIN PGP PUBLIC KEY BLOCK-----
>Version: 2.6.2
>
>mQBNAzKu3TgAAAECAL8+YSEFZ0XrlBMu9t2xDq3rhpWZoscP83VrX5MevAm3UOd6
>fOtDKsJxsWugnVMexo50NfBjeWOHz5nA1b9hYx0ABRG0H0pvYW8gTWVuZGVzIDxq
>bW1tQG1lZ2FtZWRpYS5wdD4=3D
>=3DsspP
>-----END PGP PUBLIC KEY BLOCK-----
>
>

-----------------------------------
-- chrism@marshes.demon.co.uk
-- http://www.marshes.demon.co.uk
--
-- Man will oneday reach the stars.
-- Space the Final frontier.
-----------------------------------------




| Вернуться в корень Архива |