Solved

hook missing messages

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 108
wordpress limitations 4 124
WPF issue with Trigger 2 115
Input parameteres to DragOver 2 20
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…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…

828 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