Solved

hook missing messages

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Changing the installation path of this MSI 5 119
Is COM supported from Apache 1 79
Visual Studio: built-in keystroke automation 2 88
VIDEO DATASOURCE Control Resize issue 2 62
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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