Click here to Skip to main content
15,911,360 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding a number to a Pointer Pin
Mark Salsbery25-Aug-08 6:18
Mark Salsbery25-Aug-08 6:18 
QuestionWhen a non modal windows is closed ? Pin
DSPCottage23-Aug-08 22:24
DSPCottage23-Aug-08 22:24 
AnswerRe: When a non modal windows is closed ? Pin
Ștefan-Mihai MOGA23-Aug-08 23:11
professionalȘtefan-Mihai MOGA23-Aug-08 23:11 
AnswerRe: When a non modal windows is closed ? Pin
Jijo.Raj24-Aug-08 0:14
Jijo.Raj24-Aug-08 0:14 
GeneralRe: When a non modal windows is closed ? Pin
DSPCottage24-Aug-08 1:45
DSPCottage24-Aug-08 1:45 
GeneralRe: When a non modal windows is closed ? Pin
ThatsAlok24-Aug-08 21:58
ThatsAlok24-Aug-08 21:58 
AnswerRe: When a non modal windows is closed ? Pin
ThatsAlok24-Aug-08 21:55
ThatsAlok24-Aug-08 21:55 
QuestionQuick way to detect RTL at a given moment Pin
yakobom23-Aug-08 18:52
yakobom23-Aug-08 18:52 
AnswerRe: Quick way to detect RTL at a given moment Pin
Sarath C24-Aug-08 1:25
Sarath C24-Aug-08 1:25 
QuestionSubstring for char Pin
luisgrimaldo23-Aug-08 16:21
luisgrimaldo23-Aug-08 16:21 
AnswerRe: Substring for char Pin
Paul Conrad23-Aug-08 18:23
professionalPaul Conrad23-Aug-08 18:23 
GeneralRe: Substring for char Pin
luisgrimaldo23-Aug-08 19:31
luisgrimaldo23-Aug-08 19:31 
GeneralRe: Substring for char Pin
Paul Conrad23-Aug-08 19:34
professionalPaul Conrad23-Aug-08 19:34 
GeneralRe: Substring for char Pin
luisgrimaldo23-Aug-08 19:36
luisgrimaldo23-Aug-08 19:36 
GeneralRe: Substring for char Pin
Paul Conrad23-Aug-08 19:39
professionalPaul Conrad23-Aug-08 19:39 
GeneralRe: Substring for char Pin
Paul Conrad23-Aug-08 19:46
professionalPaul Conrad23-Aug-08 19:46 
GeneralRe: Substring for char Pin
luisgrimaldo23-Aug-08 20:15
luisgrimaldo23-Aug-08 20:15 
GeneralRe: Substring for char Pin
David Crow24-Aug-08 16:42
David Crow24-Aug-08 16:42 
AnswerRe: Substring for char Pin
Green Fuze23-Aug-08 20:06
Green Fuze23-Aug-08 20:06 
GeneralRe: Substring for char Pin
Green Fuze23-Aug-08 20:07
Green Fuze23-Aug-08 20:07 
AnswerRe: Substring for char Pin
Jijo.Raj23-Aug-08 23:26
Jijo.Raj23-Aug-08 23:26 
Questiona weird problem with global hooking of messages. Pin
Green Fuze23-Aug-08 3:07
Green Fuze23-Aug-08 3:07 
AnswerRe: a weird problem with global hooking of messages. Pin
Naveen23-Aug-08 21:32
Naveen23-Aug-08 21:32 
GeneralRe: a weird problem with global hooking of messages. Pin
Green Fuze23-Aug-08 21:47
Green Fuze23-Aug-08 21:47 
GeneralRe: a weird problem with global hooking of messages. Pin
Naveen23-Aug-08 22:20
Naveen23-Aug-08 22:20 
Green Fuze wrote:
LPMSG m = (LPMSG)lParam;


This the problem. If you are hooking the message using the WH_CALLWNDPROC, the LPARAM in the call back function is actually a pointer to CWPSTRUCT.

so change the code as follows..

PCWPSTRUCT pstInfo = (PCWPSTRUCT)lParam;<br />
switch(pstInfo->message)<br />
{<br />
    .....<br />
}


Green Fuze wrote:
a global copy/paste encrypter/decrypter.


Sorry I didnt understand the concept. If you dont mind can you explain( Just because am curious ).

Good Luck


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.