Click to See Complete Forum and Search --> : Message Hook


Carko Lee
May 13th, 1999, 06:15 AM
I use Message Hooking.....(WH_GETMESSAGE)

But....I can't hook "CB_INSERTSTRING" Message..



LRESULT CALLBACK GetMsgProc (int nCode, WPARAM wParam, LPARAM lParam )
{
if(nCode>=0)
{
if(((MSG*)lParam)->message==(long)CB_INSERTSTRING)
AfxMessageBox("CB_INSERTSTRING");
}
:
:




What's the problem??

it works another message hooking very well....

Show me the way....