Click here to Skip to main content
15,921,203 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mapping Right mouse click to button click Pin
Yulianto.6-Oct-04 18:08
Yulianto.6-Oct-04 18:08 
GeneralRe: Mapping Right mouse click to button click Pin
sreejith ss nair7-Oct-04 0:17
sreejith ss nair7-Oct-04 0:17 
GeneralCaption Names Pin
jj9216-Oct-04 9:40
jj9216-Oct-04 9:40 
GeneralRe: Caption Names Pin
Ravi Bhavnani6-Oct-04 10:42
professionalRavi Bhavnani6-Oct-04 10:42 
GeneralRe: Caption Names Pin
Joaquín M López Muñoz6-Oct-04 11:16
Joaquín M López Muñoz6-Oct-04 11:16 
GeneralEach letter a diffetent color to a dc Pin
...---...6-Oct-04 9:30
...---...6-Oct-04 9:30 
GeneralRe: Each letter a diffetent color to a dc Pin
Maximilien6-Oct-04 9:42
Maximilien6-Oct-04 9:42 
GeneralNon client area events mouse hook Pin
anandforu6-Oct-04 9:11
anandforu6-Oct-04 9:11 
how to receive non client area events using system wide mouse hook?

i am able to receive the event.But sometimes it won't works.
when i move mouse the sometimes occurs but sometimes not why?
can anyone help me?
see following Mouse hook Procedure i'm using it in dll file.

LRESULT CALLBACK
SpyGetMsgProc(
INT hc,
WPARAM wParam,
LPARAM lParam
)
{
PMSG pmsg;
PCWPSTRUCT pcwps;
pmsg = (PMSG)lParam;

if(pmsg->wParam ==WM_NCLBUTTONDOWN)
MessageBox(0,"ncl wp","",0);//this shows only somtiomes
if(pmsg->message==WM_NCMOUSEMOVE){
if(pmsg->wParam ==HTCAPTION)
MessageBox(0,"ncl message","",0);//this shows only somtiomes
return CallNextHookEx(NULL, hc, wParam, lParam);
}


GeneralRe: Non client area events mouse hook Pin
David Crow6-Oct-04 9:28
David Crow6-Oct-04 9:28 
GeneralRe: Non client area events mouse hook Pin
Blake Miller6-Oct-04 9:59
Blake Miller6-Oct-04 9:59 
GeneralRename file to Unicode name Pin
Microwonk6-Oct-04 9:11
Microwonk6-Oct-04 9:11 
GeneralRe: Rename file to Unicode name Pin
Microwonk11-Oct-04 7:46
Microwonk11-Oct-04 7:46 
QuestionAnyone up for a challenge? Pin
zumichu6-Oct-04 9:05
zumichu6-Oct-04 9:05 
AnswerRe: Anyone up for a challenge? Pin
David Crow6-Oct-04 9:26
David Crow6-Oct-04 9:26 
GeneralRe: Anyone up for a challenge? Pin
zumichu6-Oct-04 9:27
zumichu6-Oct-04 9:27 
GeneralRe: Anyone up for a challenge? Pin
zumichu6-Oct-04 9:30
zumichu6-Oct-04 9:30 
AnswerRe: Anyone up for a challenge? Pin
Orkun GEDiK6-Oct-04 9:28
Orkun GEDiK6-Oct-04 9:28 
GeneralRe: Anyone up for a challenge? Pin
zumichu6-Oct-04 9:45
zumichu6-Oct-04 9:45 
GeneralTapi Pin
kashish846-Oct-04 9:02
kashish846-Oct-04 9:02 
GeneralRe: Tapi Pin
Sujan Christo6-Oct-04 18:46
Sujan Christo6-Oct-04 18:46 
GeneralRe: Tapi Pin
Member 13058116-Oct-04 23:35
Member 13058116-Oct-04 23:35 
GeneralRe: Tapi Pin
kashish847-Oct-04 2:36
kashish847-Oct-04 2:36 
GeneralRe: Tapi Pin
Member 13058118-Oct-04 1:08
Member 13058118-Oct-04 1:08 
Generalwin32 VC++ Pin
Ann666-Oct-04 8:55
sussAnn666-Oct-04 8:55 
GeneralRe: win32 VC++ Pin
anandforu6-Oct-04 9:04
anandforu6-Oct-04 9:04 

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.