hi,

i have a question:
i've worked with a corrupt windowProc() for a long time.
instead of calling DefWndProc(), i issued a
'return 0;'.
the problem is that, it messed with XP, and
when i (for instance ) move the mouse with
'control' pressed or 'shift',
the mouse jerks.
reinstalling the mouse and keyb. drivers doesn't
help.
how do i fix this?
(i already fixed wndProc().)

greets,

marc

Re: corrupt windowProc() by William

William
Tue Jul 24 14:10:11 CDT 2007

"marco RTYPE 6" <rebel-6-out@planet.nl> wrote in message
news:46a64796$0$25492$ba620dc5@text.nova.planet.nl...
> i have a question:
> i've worked with a corrupt windowProc() for a long time.
> instead of calling DefWndProc(), i issued a
> 'return 0;'.
> the problem is that, it messed with XP, and
> when i (for instance ) move the mouse with
> 'control' pressed or 'shift',
> the mouse jerks.
> reinstalling the mouse and keyb. drivers doesn't
> help.
> how do i fix this?
> (i already fixed wndProc().)

I'm highly skeptical that a faulty window procedure could "mess with" XP if
to "mess with" means to cause permanent damage.

Rather, I'd attribute the jerkiness to the fact that with the key held down
you are generating lots of WM_KEYDOWN messages. You might want to check the
handler for the message to see what it is doing.

Regards,
Will



Re: corrupt windowProc() by marco

marco
Tue Jul 24 14:58:50 CDT 2007

ok Will,

i agree.
but the problem is that it occurs 'outside' my own project.
for instance in 'outlook' (control/shift+mouse operations).
i can't 'take a look' inside the source code of outlook,
to see what it's WM_KEYDOWN is doing.
so, what then?

regards,

m


"William DePalo [MVP VC++]" <willd.no.spam@mvps.org> schreef in bericht
news:ee8UBZizHHA.1168@TK2MSFTNGP02.phx.gbl...
> "marco RTYPE 6" <rebel-6-out@planet.nl> wrote in message
> news:46a64796$0$25492$ba620dc5@text.nova.planet.nl...
>> i have a question:
>> i've worked with a corrupt windowProc() for a long time.
>> instead of calling DefWndProc(), i issued a
>> 'return 0;'.
>> the problem is that, it messed with XP, and
>> when i (for instance ) move the mouse with
>> 'control' pressed or 'shift',
>> the mouse jerks.
>> reinstalling the mouse and keyb. drivers doesn't
>> help.
>> how do i fix this?
>> (i already fixed wndProc().)
>
> I'm highly skeptical that a faulty window procedure could "mess with" XP
> if to "mess with" means to cause permanent damage.
>
> Rather, I'd attribute the jerkiness to the fact that with the key held
> down you are generating lots of WM_KEYDOWN messages. You might want to
> check the handler for the message to see what it is doing.
>
> Regards,
> Will
>



Re: corrupt windowProc() by marco

marco
Tue Jul 24 18:30:20 CDT 2007

is there anybody else,

who has a solution for this problem?

greets,

marc k.


"marco RTYPE 6" <rebel-6-out@planet.nl> schreef in bericht
news:46a65a0e$0$25500$ba620dc5@text.nova.planet.nl...
> ok Will,
>
> i agree.
> but the problem is that it occurs 'outside' my own project.
> for instance in 'outlook' (control/shift+mouse operations).
> i can't 'take a look' inside the source code of outlook,
> to see what it's WM_KEYDOWN is doing.
> so, what then?
>
> regards,
>
> m
>
>
> "William DePalo [MVP VC++]" <willd.no.spam@mvps.org> schreef in bericht
> news:ee8UBZizHHA.1168@TK2MSFTNGP02.phx.gbl...
>> "marco RTYPE 6" <rebel-6-out@planet.nl> wrote in message
>> news:46a64796$0$25492$ba620dc5@text.nova.planet.nl...
>>> i have a question:
>>> i've worked with a corrupt windowProc() for a long time.
>>> instead of calling DefWndProc(), i issued a
>>> 'return 0;'.
>>> the problem is that, it messed with XP, and
>>> when i (for instance ) move the mouse with
>>> 'control' pressed or 'shift',
>>> the mouse jerks.
>>> reinstalling the mouse and keyb. drivers doesn't
>>> help.
>>> how do i fix this?
>>> (i already fixed wndProc().)
>>
>> I'm highly skeptical that a faulty window procedure could "mess with" XP
>> if to "mess with" means to cause permanent damage.
>>
>> Rather, I'd attribute the jerkiness to the fact that with the key held
>> down you are generating lots of WM_KEYDOWN messages. You might want to
>> check the handler for the message to see what it is doing.
>>
>> Regards,
>> Will
>>
>
>



Re: corrupt windowProc() by Alex

Alex
Wed Jul 25 02:49:03 CDT 2007

marco RTYPE 6 wrote:
> is there anybody else,
>
> who has a solution for this problem?

The most probable cause is that you have inappropriate
driver or some rude software on your machine. Corrupting
window procedure in a process (or any other function) can't
influence OS in any way.

Alex

Re: corrupt windowProc() by marco

marco
Wed Jul 25 10:35:28 CDT 2007

thnx!


"Alex Blekhman" <tkfx.REMOVE@yahoo.com> schreef in bericht
news:uSqpGBpzHHA.4816@TK2MSFTNGP04.phx.gbl...
> marco RTYPE 6 wrote:
>> is there anybody else,
>>
>> who has a solution for this problem?
>
> The most probable cause is that you have inappropriate driver or some rude
> software on your machine. Corrupting window procedure in a process (or any
> other function) can't influence OS in any way.
>
> Alex