Solved

hook missing messages

Posted on 2004-04-15
3
329 Views
Last Modified: 2013-12-03
I have made a hook to retrieve window messages, mush like Spy++. One difference I have noted is that Spy++ gets an unknown 0x0118 message which a google search I found it to possibly be a WM_SYSTIMER used for caret blinks.
Anyway, I have tried a number of hooks and none seem to catch this message. I have tried WH_CALLWNDPROC, WH_CALLWNDPROCRET as well as subclassing every window in the target app, still nothing. Does anyone know how I could possibly catch this, and any other messages like it I may be missing?

Jason
0
Comment
Question by:mite51
  • 2
3 Comments
 
LVL 9

Accepted Solution

by:
Cayce earned 250 total points
ID: 10837568
Did you try WH_SYSMSGFILTER?
0
 
LVL 1

Author Comment

by:mite51
ID: 10837712
just tried it, didnt work
0
 
LVL 1

Author Comment

by:mite51
ID: 10838171
doh my bad
I was using..
      CWPRETSTRUCT* MSG;
      MSG = (CWPRETSTRUCT*)lParam;

thats only specific to WNDProc, the SYS proc is just a plain MSG structure pointer so I was getting bad messages.

I'm stupid, thanks for your help
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question