Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Can i remove Scroll Buttons of DatePickerControl ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can i remove Scroll Buttons of DatePickerControl ?

 Post Reply Post Reply
Author
Message
amitb View Drop Down
Groupie
Groupie
Avatar

Joined: 13 September 2006
Status: Offline
Points: 50
Post Options Post Options   Thanks (0) Thanks(0)   Quote amitb Quote  Post ReplyReply Direct Link To This Post Topic: Can i remove Scroll Buttons of DatePickerControl ?
    Posted: 18 September 2008 at 2:35am
Can i remove the scroll buttons that appear on the left and right side of a date picker control.??


Back to Top
prashant View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 February 2007
Location: India
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote prashant Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2008 at 8:09am
Hello Codejock Team,

Does following is the right way?

CXTPDatePickerItemMonth::SetShowScrolling(FALSE,FALSE)


Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2009 at 6:22pm
if you have access to DatePicker only - you can call

m_wndDatePicker.SetRange(&dtS, &dtE);  with dtS and dtE - min and max dates already visible in picker. Now all Scrollbar will disapear

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.156 seconds.