AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mouse Click on Title Bar

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
schandl



Joined: 26 Apr 2005
Posts: 28
Location: Munich, Germany

PostPosted: Sun May 01, 2005 12:55 pm    Post subject: Mouse Click on Title Bar Reply with quote

Is it possible to know whether a mouse click (or any other hotkey) was performed on the title bar of a window? Either through getting some event/ID or by knowing the height ot the title bar and thus being able to calculate some (X,Y) expressions?

Bernd
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Mon May 02, 2005 10:47 am    Post subject: Reply with quote

I think you can get the height of the title bar with the following:

SysGet, TitleBarHeight, 4 ; 4 is SM_CYCAPTION.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group