Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Highlight a day in workweek view
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Highlight a day in workweek view

 Post Reply Post Reply
Author
Message
haitao View Drop Down
Newbie
Newbie
Avatar

Joined: 17 August 2005
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote haitao Quote  Post ReplyReply Direct Link To This Post Topic: Highlight a day in workweek view
    Posted: 17 August 2005 at 3:23pm

Hi,

  I tried to use showday method, it highlight the day I want but calendar changed to day view.

  Thanks for help!

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2005 at 7:58am
Hi!

ShowDay() method actually shows a single specified day.

Try to use AddDay() and ShowDays() methods.

In addition you can use SetSelection() method for highlighting.

--
WBR,
Serge
Back to Top
haitao View Drop Down
Newbie
Newbie
Avatar

Joined: 17 August 2005
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote haitao Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2005 at 9:52am
Thank you for the response. I have Version 9.70. I cannot find method SetSelection(). Thanks!
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2005 at 8:23am
void CXTPCalendarView::SetSelection(const COleDateTime& dtBegin, const COleDateTime& dtEnd, BOOL bAllDayEvent);
Back to Top
haitao View Drop Down
Newbie
Newbie
Avatar

Joined: 17 August 2005
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote haitao Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2005 at 11:57am
Sorry, I am in the wrong board, I am working with VB.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 20 August 2005 at 2:08pm
Unfortunately, this method is not currently available for VB. We'll add it for the next version.

--
WBR,
Serge
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.