Print Page | Close Window

What makes BeforeDrawThemeObject event to be fired

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=17971
Printed Date: 03 May 2024 at 3:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: What makes BeforeDrawThemeObject event to be fired
Posted By: RK007
Subject: What makes BeforeDrawThemeObject event to be fired
Date Posted: 28 February 2011 at 10:45am
I configured the BeforeDrawThemeObject event to highlight different working hour schemes on different days (for different persons). This seems to work fine, however every time I move the mousepointer across the border of the control the event is fired again for each cell of the control.
I expected the event to be fired only when the control is (re)drawn on the screen.

So I am wondering what makes the BeforeDrawThemeObject event to be fired (how is it triggered)?
Is it expected behaviour that the event fires every time I move the mousepointer across the border of the control? Does this force a redraw of the control?

Thanks and regards,
Ron


-------------
Product: Xtreme CalendarControl (ActiveX) 13.4.0
Platform: Win XP
Language: PRONTO



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net