Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » CalendarCtrl » Events to spin buttons, add mousewheel too.
Events to spin buttons, add mousewheel too. [message #21107] Mon, 04 May 2009 00:10 Go to next message
mingodad is currently offline  mingodad
Messages: 46
Registered: February 2008
Location: UK
Member
I want to react when users change month or year but currently I can't see where to attach my code.

Another good improvement would be the controls to change with mousewheel too, like FLTK and eve pageUp/PageDown, and keyboard navigation too, actually it can't be focused or participate on the keyboard focus switch.

An example attached using msegui http://msegui.org/
  • Attachment: datectrl.zip
    (Size: 362.79KB, Downloaded 266 times)
Re: Events to spin buttons, add mousewheel too. [message #21109 is a reply to message #21107] Mon, 04 May 2009 00:17 Go to previous message
mingodad is currently offline  mingodad
Messages: 46
Registered: February 2008
Location: UK
Member
As a quick soluction I did on CalendarCtrl:

private:
typedef Calendar CLASSNAME;

public:
FlatSpin spin_year;
FlatSpin spin_month;
FlatSpin spin_all;
private:

static const int cols = 7;
static const int rows = 6;
Previous Topic: Clock small scale
Next Topic: Entering mm/dd but not year... Setting default year?
Goto Forum:
  


Current Time: Thu Apr 25 11:49:30 CEST 2019

Total time taken to generate the page: 0.00593 seconds