Solved

hook missing messages

Posted on 2004-04-15
3
326 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now