Search found 5 matches

by gomay
Tue Feb 02, 2010 8:16 pm
Forum: C++ Development
Topic: Problem event mouse
Replies: 1
Views: 450

Problem event mouse

have a problem with capturing mouse events ... I use the function to capture event.GetPosition Coordinates of the mouse on the window, all is well in areas where there are no controls .. function returns me to the bar tares the value of the position ... MyFrame:: Event (wxMouseEvent & event) ( w...
by gomay
Mon Feb 01, 2010 7:24 pm
Forum: wxCode
Topic: Selection page wxNotebook
Replies: 3
Views: 1826

Re: Selection page wxNotebook

m_notebook1-> setSelection (page); where page is a whole Sorry, I don't understand. What is "a whole"? The problem is that I not find a function of the notebook to go from one page to another, the start in any page, I need to start in the second page, setSelelection function I use, but do...
by gomay
Mon Feb 01, 2010 1:45 pm
Forum: wxCode
Topic: Selection page wxNotebook
Replies: 3
Views: 1826

Selection page wxNotebook

As I do to select a notebook page, which function to initialize a given page of the notebook ... I'm using:

m_notebook1-> setSelection (page);
where page is a whole and does not work ..

Someone help me ... thanks
by gomay
Sat Jan 30, 2010 8:38 pm
Forum: wxCode
Topic: wxPlotCtrl
Replies: 2
Views: 1784

mieszko_the_first wrote:The code:

Code: Select all

plotCtrl->SetDefaultBoundingRect(wxRect2DDouble(0, 0, 2, 5));
Changes the default ranges from 0 to 2 in X and from 0 to 5 in Y.

thanks, what I was looking for ..
by gomay
Tue Jan 26, 2010 2:26 pm
Forum: wxCode
Topic: wxPlotCtrl
Replies: 2
Views: 1784

wxPlotCtrl

I have a problem with the limits to plot, by default the X and Y are from 10 to -10. that function can be used to change the range ... thanks