Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Custom viewers (Read 5007 times)
gerardo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Jan 26th, 2007
Custom viewers
Jan 30th, 2007 at 3:07pm
Print Post  
Reviewing the examples I found the custom viewers, that is very close to what I need. However the Interface IItemViewer is not available for pockectPC. Sad

Is there another way to customize how the items/appointments are displayed on the pocket PC?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Custom viewers
Reply #1 - Jan 30th, 2007 at 5:52pm
Print Post  
You could set the Calendar.CustomDraw property to CalendarItem and handle the Draw event to draw the appointments yourself.
  
Back to top
 
IP Logged
 
gerardo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Jan 26th, 2007
Re: Custom viewers
Reply #2 - Jan 30th, 2007 at 7:02pm
Print Post  
That's perfect. Thanks

Gerardo
  
Back to top
 
IP Logged
 
gerardo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 27
Joined: Jan 26th, 2007
Re: Custom viewers
Reply #3 - Jan 30th, 2007 at 8:34pm
Print Post  
there is still an issue. When the appointment is selected on the calendar, the appointment is rendered twice, using the default way to draw the appointment plus the new one that I created.

Can I disable the deault "Display" for the item so only what I want is displayed?
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Custom viewers
Reply #4 - Jan 31st, 2007 at 6:02am
Print Post  
The custom drawing is indeed performed once the item is rendered with the default appearance. We did this because we cannot assume whether the client would wish to completely redraw the item or whether he would only add some decoration on top of the default rendering. It is logical however to be able to "disable" default rendering and we will add this feature along with the rest of the requests.

Meppy
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Custom viewers
Reply #5 - Jan 31st, 2007 at 8:41am
Print Post  
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint