![]() |
CXTPDatePickerControl Redraw |
Post Reply
|
| Author | |
Italo
Groupie
Joined: 10 December 2003 Location: United States Status: Offline Points: 83 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPDatePickerControl RedrawPosted: 13 April 2006 at 10:15pm |
|
Line 255 of XTPCalendarController.cpp calls CXTPDatePickerControl::Select in a loop, without locking the control update. This causes unnecessary redraws. Shouldn't the control m_nLockUpdateCount be incremented before the loop and decremented afterwards? Thanks, Italo |
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 April 2006 at 3:24pm |
|
Looks to be not necessary because if look deeper, it actually redraws the control only once when calling m_pDatePickerCtrl->RedrawControl(); after the end of the loop.
-- WBR, Serge |
|
![]() |
|
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 |