Solved

hook missing messages

Posted on 2004-04-15
3
339 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

705 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