Search found 65 matches

by Marco
Mon Oct 10, 2005 8:05 am
Forum: C++ Development
Topic: Custom Component and XRC
Replies: 9
Views: 3621

Custom Component and XRC

Hi everybody, I have derived the wxTextCtrl to my own class TextCtrlWithValidator. I try to insert my component in a XRC file like this (generated by DialogBlocks) : <object class="sizeritem"> <flag>wxGROW|wxALL</flag> <border>5</border> <object class="TextCtrlWithValidator" name...
by Marco
Mon Oct 10, 2005 7:22 am
Forum: C++ Development
Topic: Time Conversion ...
Replies: 4
Views: 2052

Hi vasek,

Thanks for your answer but in France we have an hour during the summer and an hour during the winter ... How can I manage this with the UTC time ???

Marco
by Marco
Fri Oct 07, 2005 12:49 pm
Forum: C++ Development
Topic: Time Conversion ...
Replies: 4
Views: 2052

Time Conversion ...

Hi everybody, I want to convert time since Epoch to a wxCalendarCtrl and a wxTextCtrl for Hour, Minute and Seconds (format HH:MM:SS). void CalcTime::ConvertFromTimeInSecondsToTime (void) { wxString time_in_seconds = p_TimeInSeconds_->GetValue (); time_t tmp_time_in_seconds; time_in_seconds.ToLong ((...
by Marco
Tue Oct 04, 2005 7:29 am
Forum: C++ Development
Topic: wxRadioBox and no selected item ...
Replies: 4
Views: 1934

Re: wxRadioBox and no selected item ...

Hi NinjaNL,
NinjaNL wrote:i believe the way to do this is to have an potion "No Selection" and set this as your default.
This is the workaround I found. But the "No Selection" item was hidden ...

Marco
by Marco
Mon Oct 03, 2005 3:47 pm
Forum: C++ Development
Topic: wxRadioBox and no selected item ...
Replies: 4
Views: 1934

Hi benedicte,
benedicte wrote:wxRadioButton::SetValue(false) should be what you are looking for.
Excuse-me but I'm telling about wxRadioBox and not about wxRadioButton ... The SetValue method cannot be used with the wxRadioBox class.

Nevertheless, thank you for your answer,

Marco
by Marco
Mon Oct 03, 2005 10:29 am
Forum: C++ Development
Topic: XRCCTRL and wxStaticboxSizer ...
Replies: 1
Views: 1142

XRCCTRL and wxStaticboxSizer ...

Hi everybody, I have in a frame a wxStaticBoxSizer which Id name is "COMPORTSSIZER". I use a xrc file and I want to insert objects in it dynamically. I try to extract a wxStaticBoxSizer pointer on it : wxStaticBoxSizer* p_static_box_sizer_ = XRCCTRL(*this, "COMPORTSSIZER", wxStat...
by Marco
Mon Oct 03, 2005 10:05 am
Forum: C++ Development
Topic: wxRadioBox and no selected item ...
Replies: 4
Views: 1934

wxRadioBox and no selected item ...

Hi everybody,

I want my wxRadioBox to have no item selected when it is created ... How can I do this ??? Could someone help me please ???

Thank you in advance,

Marco
by Marco
Mon Sep 26, 2005 10:16 am
Forum: C++ Development
Topic: wxCalendarCtrl and dates ...
Replies: 5
Views: 1798

Hi upCASE,
upCASE wrote: 2. Find the starting and ending month day (1 to 31) by using the objects.
I don't really know how I can find this. The start and end dates aren't always in the same month ...

Do you have a solution ?

Marco
by Marco
Mon Sep 26, 2005 8:43 am
Forum: C++ Development
Topic: wxCalendarCtrl and dates ...
Replies: 5
Views: 1798

wxCalendarCtrl and dates ...

Hi everybody,

I have two time_t dates: time_t begining and time_t end. I want all the days within begining and end to be bold in my wxCalendarCtrl.

How can I do this ? Could someone help me please ?

Thank you in advance,

Marco
by Marco
Thu Sep 22, 2005 8:09 am
Forum: C++ Development
Topic: Problem with frame styles and XRC ...
Replies: 3
Views: 1543

Hi benedicte, Thank you for your prompt answer. Yes, you're right that's why I use wxMINIMIZE_BOX. But I don't want to use wxMAXIMIZE_BOX because it allows user to maximize the frame or I want my frame to be maximized only ... And I have the same error message with wxMAXIMIZE only. Have you an other...
by Marco
Thu Sep 22, 2005 7:46 am
Forum: C++ Development
Topic: Problem with frame styles and XRC ...
Replies: 3
Views: 1543

Problem with frame styles and XRC ...

Hi everybody, I want my frame to be maximized and can be minimized (iconized). In the XRC file this my related code : <style>wxCAPTION|wxSYSTEM_MENU|wxMINIMIZE|wxMAXIMIZE|wxCLOSE_BOX</style> But when I launch the frame I have a pop-up with the message "Unknown style flag wxMAXIMIZE" and th...
by Marco
Fri Sep 16, 2005 2:50 pm
Forum: C++ Development
Topic: Application launch one time only ...
Replies: 2
Views: 940

Application launch one time only ...

Hi everybody,

I want my application to be launch one time only. How can I do this ??? Could someone help me please ???

Thank you in advance,

Marco
by Marco
Wed Sep 14, 2005 10:04 am
Forum: Open Discussion
Topic: An idea ???
Replies: 3
Views: 1658

Thank you Jorg for your prompt answer ...

I try to define my 'need' or people 'need' and I develop the related application ...

Marco
by Marco
Wed Sep 14, 2005 9:38 am
Forum: Open Discussion
Topic: An idea ???
Replies: 3
Views: 1658

An idea ???

Hi everybody,

I want to improve my wxWidgets and C++ skills and I want to develop my own software (I develop now for a company). But I don't know what easy software I can develop to start.

Do you have any idea ???

Thank you,

Marco
by Marco
Mon Sep 12, 2005 9:31 am
Forum: C++ Development
Topic: SetMonth with an int ...
Replies: 1
Views: 906

SetMonth with an int ...

Hi everybody,

I want to use the SetMonth function with an int (from 0 to 12) and not something like wxDateTime::Dec ...

Could someone help me please ???

Thank you in advance,

Marco