Month Calendar Double Click |
Post Reply |
Author | |
tomurphy
Groupie Joined: 06 June 2008 Location: Australia Status: Offline Points: 21 |
Post Options
Thanks(0)
Posted: 17 November 2008 at 6:54pm |
Hi
I am using version 12.0.0 and am finding a mouse double click anywhere in the month calendar control calls OnDblClick. Shouldn't this only be called when double clicking on an actual day??
Cheers
Tom
CodeJock Com Suite 12.0.0
Visual Dataflex 14.0
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
It works like Calendar Control from Microsoft common controls.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
tomurphy
Groupie Joined: 06 June 2008 Location: Australia Status: Offline Points: 21 |
Post Options
Thanks(0)
|
Thanks for the reply Oleg, I take it that means there's nothing you or I do can do?
Cheers
Tom
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
yes :(
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
I looked around the web to see if I could find any information on MonthView messages, and luckily I discovered one called MCM_HITTEST that looked promising. After a bit of digging & experimentation, I came up with this code that should do what you require (only count the double-click when on a date, or on the Today link):
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
tomurphy
Groupie Joined: 06 June 2008 Location: Australia Status: Offline Points: 21 |
Post Options
Thanks(0)
|
Thanks for that mate I'll give it a go!
Cheers,
Tom
|
|
ijwelch
Senior Member Joined: 20 June 2006 Status: Offline Points: 262 |
Post Options
Thanks(0)
|
Maybe CJ can add HitTest method.
|
|
tomurphy
Groupie Joined: 06 June 2008 Location: Australia Status: Offline Points: 21 |
Post Options
Thanks(0)
|
For the 12.1 release?
|
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
Glad to help tom...
Here's where I found the MonthView constants in case anyone is interested: http://notmyspace.info/run/Include/DateTimeConstants.au3 |
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |