Click here to Skip to main content
15,913,587 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Separete the file extension from a filename Pin
Rickard Andersson2020-Dec-02 3:28
Rickard Andersson2020-Dec-02 3:28 
GeneralRe: Separete the file extension from a filename Pin
Fredrik Skog19-Dec-02 20:36
Fredrik Skog19-Dec-02 20:36 
GeneralRe: Separete the file extension from a filename Pin
Jörgen Sigvardsson21-Dec-02 10:15
Jörgen Sigvardsson21-Dec-02 10:15 
GeneralRe: Separete the file extension from a filename Pin
Al_Pennyworth23-Dec-02 2:50
Al_Pennyworth23-Dec-02 2:50 
Generaldetect mouse click Pin
king_of_the_world19-Dec-02 18:37
king_of_the_world19-Dec-02 18:37 
GeneralRe: detect mouse click Pin
Taka Muraoka19-Dec-02 18:51
Taka Muraoka19-Dec-02 18:51 
GeneralRe: detect mouse click Pin
king_of_the_world19-Dec-02 19:08
king_of_the_world19-Dec-02 19:08 
GeneralRe: detect mouse click Pin
Taka Muraoka19-Dec-02 19:12
Taka Muraoka19-Dec-02 19:12 
Have a look in the MSDN.

You call SetWindowsHookEx() with a pointer to a function that you supply. Windows will then call this function every time something mouse-related happens, giving you the HWND that the event is for, where the mouse is on screen, etc.

Since there may be more than one program listening for these mouse events, you need to make sure that you pass the event on, by calling CallNextHookEx().



he he he. I like it in the kitchen! - Marc Clifton (on taking the heat when being flamed)

Awasu v0.4a[^]: A free RSS reader with support for Code Project.

GeneralRe: detect mouse click Pin
king_of_the_world20-Dec-02 1:15
king_of_the_world20-Dec-02 1:15 
GeneralRe: detect mouse click Pin
Taka Muraoka20-Dec-02 1:28
Taka Muraoka20-Dec-02 1:28 
GeneralRe: detect mouse click Pin
king_of_the_world20-Dec-02 1:38
king_of_the_world20-Dec-02 1:38 
GeneralRe: detect mouse click Pin
king_of_the_world20-Dec-02 1:40
king_of_the_world20-Dec-02 1:40 
GeneralRe: detect mouse click Pin
Taka Muraoka20-Dec-02 1:50
Taka Muraoka20-Dec-02 1:50 
GeneralRe: detect mouse click Pin
king_of_the_world20-Dec-02 1:55
king_of_the_world20-Dec-02 1:55 
GeneralRe: detect mouse click Pin
Taka Muraoka20-Dec-02 2:08
Taka Muraoka20-Dec-02 2:08 
GeneralRe: detect mouse click Pin
king_of_the_world20-Dec-02 2:14
king_of_the_world20-Dec-02 2:14 
GeneralRe: detect mouse click Pin
Christian Graus19-Dec-02 18:52
protectorChristian Graus19-Dec-02 18:52 
GeneralComboBox Pin
Exceter19-Dec-02 17:28
Exceter19-Dec-02 17:28 
GeneralRe: ComboBox Pin
KaЯl19-Dec-02 23:37
KaЯl19-Dec-02 23:37 
GeneralNeed help using SafeArray/VARIANT from ASP/VBScript client Pin
bahruddina19-Dec-02 16:22
bahruddina19-Dec-02 16:22 
GeneralRe: Need help using SafeArray/VARIANT from ASP/VBScript client Pin
Jeff J19-Dec-02 21:56
Jeff J19-Dec-02 21:56 
GeneralRe: Need help using SafeArray/VARIANT from ASP/VBScript client Pin
Anonymous20-Dec-02 3:41
Anonymous20-Dec-02 3:41 
GeneralRe: Need help using SafeArray/VARIANT from ASP/VBScript client Pin
Jeff J20-Dec-02 10:55
Jeff J20-Dec-02 10:55 
GeneralNeed Suggestion on "Timing Out" GetDiskFreeSpaceEx Pin
wdafon19-Dec-02 16:07
wdafon19-Dec-02 16:07 
Generalwindows 2000 power management Pin
dejavu19-Dec-02 15:48
dejavu19-Dec-02 15:48 

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.