BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to catch mouse click outside the main window frame?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (WinAPI)
View previous topic :: View next topic  
Author Message
Cagri Karapicak
Guest





PostPosted: Fri Feb 09, 2007 9:11 am    Post subject: how to catch mouse click outside the main window frame? Reply with quote



Hi everybody,

I have a problem about catching mouse events outside the main window
frame of my application; for example if I have clicked over the main
form of my application, i could catch the WM_LBUTTONDOWN message by
overriding the WndProc, but it is not enough for catching the mouse
clicks outside this window.

My forms attributes like;
left=0
top=0
width=200
height=200

but I want to catch the clicks at the screen coordinate 536,567 in an
1024x768 res. window for example...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (WinAPI) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.