Click here to Skip to main content
15,914,109 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) Pin
Hamid_RT28-Jun-07 4:16
Hamid_RT28-Jun-07 4:16 
GeneralRe: error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) Pin
shivditya8-Jul-07 1:07
shivditya8-Jul-07 1:07 
GeneralRe: error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) Pin
Hamid_RT8-Jul-07 19:17
Hamid_RT8-Jul-07 19:17 
QuestionHelp me! Rotate algorithm Pin
KienNT7824-Jun-07 18:30
KienNT7824-Jun-07 18:30 
AnswerRe: Help me! Rotate algorithm Pin
CPallini24-Jun-07 20:33
mveCPallini24-Jun-07 20:33 
GeneralRe: Help me! Rotate algorithm Pin
KienNT7824-Jun-07 22:42
KienNT7824-Jun-07 22:42 
QuestionSpy++ view messages posted/sent to a control, or from it? Pin
awah24-Jun-07 18:28
awah24-Jun-07 18:28 
AnswerRe: Spy++ view messages posted/sent to a control, or from it? Pin
JudyL_MD25-Jun-07 2:29
JudyL_MD25-Jun-07 2:29 
HEre's an example:

<00001> 0001058C S WM_NCHITTEST xPos:510 yPos:756
<00002> 0001058C R WM_NCHITTEST nHittest:HTCLIENT
<00003> 0001058C S WM_SETCURSOR hwnd:0001058C nHittest:HTCLIENT wMouseMsg:WM_MOUSEMOVE
<00004> 00090564 S WM_SETCURSOR hwnd:0001058C nHittest:HTCLIENT wMouseMsg:WM_MOUSEMOVE
<00005> 00090564 R WM_SETCURSOR fHaltProcessing:False
<00006> 0001058C R WM_SETCURSOR fHaltProcessing:False
<00007> 0001058C P WM_MOUSEMOVE fwKeys:0000 xPos:252 yPos:377

On each line:
message #
receiving window handle
S/R/P - S: message sent via SendMessage (i.e. sender will wait until window has processed message), R: message completion (will always be paired with a S), P: message sent via PostMessage. Note in my example there is a nested pair of S/R - 3 and 6 are a start/stop and 4,5 are a nested sent message
decode message type
decoded message parameters

There is no way to tell who sent a P message nor the first of multiple S messages. When you see nested S messages, it is a good bet that the outer S message sent the message to the inner S window.

Spy++ does not track messages created by a window. It only tracks messages received by windows.

Judy
QuestionAbout dll dynamic load - a simple question? Pin
Best Kiluyar24-Jun-07 17:47
Best Kiluyar24-Jun-07 17:47 
AnswerRe: About dll dynamic load - a simple question? Pin
Stephen Hewitt24-Jun-07 18:16
Stephen Hewitt24-Jun-07 18:16 
Questionsmart phone Pin
zhuantoulele24-Jun-07 17:25
zhuantoulele24-Jun-07 17:25 
Questioncrash report SDK recommendation? [modified] Pin
code_discuss24-Jun-07 16:53
code_discuss24-Jun-07 16:53 
QuestionDebug is ok, but Release failed. Pin
Peter, Chan24-Jun-07 16:31
Peter, Chan24-Jun-07 16:31 
AnswerRe: Debug is ok, but Release failed. Pin
awah24-Jun-07 17:23
awah24-Jun-07 17:23 
QuestionVisual Sudio 05 C++ ActiveX components [modified] Pin
al250024-Jun-07 15:38
al250024-Jun-07 15:38 
Question[quote="hanhao"]Programmically simulate clicking on webbrowser2 object Pin
awah24-Jun-07 15:16
awah24-Jun-07 15:16 
Questionhow do i implement IOleCommandTarget Pin
awah24-Jun-07 15:15
awah24-Jun-07 15:15 
AnswerRe: how do i implement IOleCommandTarget Pin
Stephen Hewitt24-Jun-07 18:17
Stephen Hewitt24-Jun-07 18:17 
GeneralRe: how do i implement IOleCommandTarget Pin
awah24-Jun-07 18:30
awah24-Jun-07 18:30 
GeneralRe: how do i implement IOleCommandTarget Pin
Stephen Hewitt24-Jun-07 18:32
Stephen Hewitt24-Jun-07 18:32 
GeneralRe: how do i implement IOleCommandTarget Pin
awah25-Jun-07 3:45
awah25-Jun-07 3:45 
QuestionLooking for nice looking GUI library Pin
Joe Smith IX24-Jun-07 6:06
Joe Smith IX24-Jun-07 6:06 
AnswerRe: Looking for nice looking GUI library Pin
sstainba24-Jun-07 9:14
sstainba24-Jun-07 9:14 
AnswerRe: Looking for nice looking GUI library Pin
Hamid_RT24-Jun-07 19:59
Hamid_RT24-Jun-07 19:59 
QuestionCharts in Visual C++ 6.0 Pin
einishant24-Jun-07 2:38
einishant24-Jun-07 2:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.