Search found 205 matches

by achim
Thu Jan 21, 2010 1:34 pm
Forum: C++ Development
Topic: Can I change the color of menubar ?
Replies: 2
Views: 591

hopefully this can help?

good luck
-achim
by achim
Wed Jan 20, 2010 12:14 pm
Forum: C++ Development
Topic: CTRL + click in listctrl?
Replies: 5
Views: 1247

either comput it yourself, or have look to wxListEvent EVT_LIST_KEY_DOWN(id, func) event handler macro... Computing it yourself isn't that much: define a OnKeyDown and OnKeyUp eventhandling method, that just (un)sets a boolean membervar, that internaly shows the state of the control-key. This you ca...
by achim
Wed Jan 20, 2010 9:51 am
Forum: C++ Development
Topic: CTRL + click in listctrl?
Replies: 5
Views: 1247

have a look to: wxMouseEvent::CmdDown:
wxMouseEvent::ControlDown

bool ControlDown() const


Returns true if the control key was down at the time of the event.
hope it helps...
-achim
by achim
Tue Dec 15, 2009 11:53 am
Forum: wxDev-C++
Topic: Checked menu bitmaps not working
Replies: 4
Views: 1273

hi,

if your willing to create a login account, you may report it under http://trac.wxwidgets.org/, but it seems to be much nastier than in former times :?

but thanx for notification here anyway :!:

cheers
-achim
by achim
Tue Dec 15, 2009 11:04 am
Forum: C++ Development
Topic: Event not triggered - connection mixed up?
Replies: 2
Views: 905

hi, Your eventtable is related to PLGrid: BEGIN_EVENT_TABLE (PLGrid, wxPanel) Thats why PLGrid::OnCellClick is working, but InfoBox::OnCloseButton is another classes method, this event has to be putten to the InfoBox's eventtable, so use: BEGIN_EVENT_TABLE (PLGrid, wxPanel) EVT_GRID_CMD_CELL_LEFT_CL...
by achim
Thu Nov 26, 2009 9:13 am
Forum: C++ Development
Topic: Problem with wxGrid with Sizers in wxWidgets 290/trunk
Replies: 3
Views: 1045

hi, not sure, if this may solve your prob, but maybe worth to try? The vehement usage of wxSizer pointers for creating wxBoxSizers and wxStaticBoxSizers makes me wonder, beeing the reason, possibly. There's a cast happening, so try to use wxBoxSizer pointers for wxBoxSizers and wxStaticBoxSizer poin...
by achim
Thu Nov 19, 2009 2:26 pm
Forum: C++ Development
Topic: Cannot load stock cursors
Replies: 2
Views: 774

Hopefully this might be an option to sole it: Look up your NEW, secret wxWidgets-2.?.?\include\wx\msw\ directory for cursor (*.cur) files, and of course for the non working ones. If they aren;t present, copy them from your OLD wxWidgets-2.8.7\include\wx\msw\ directory to the new one. If that's not e...
by achim
Thu Nov 19, 2009 11:41 am
Forum: C++ Development
Topic: wxDateTime comparisons
Replies: 4
Views: 1049

hi, if I got you right, this comparison fails: ... wxListItem list_item; if(column == 2)//Date column { date1 = list_item.GetData(); date2 = list_item.GetData(); if (date1.IsLaterThan(date2)) { return -1; } else { return 1; } } else { ... I cannot see, where list_item gets its data, but you use it, ...
by achim
Wed Nov 18, 2009 8:39 am
Forum: C++ Development
Topic: Weird issue I am having with GetPosition.
Replies: 8
Views: 1395

hi, if I got it right, you call wxWindow::GetPosition, the doc says: This gets the position of the window in pixels, relative to the parent window for the child windows or relative to the display origin for the top level windows try: wxWindow::GetScreenPosition: Returns the window position in screen...
by achim
Mon Nov 16, 2009 6:14 pm
Forum: wxDev-C++
Topic: wxDataViewCtrl
Replies: 2
Views: 989

hi, well first of all, I don't think, that your prob is in the right subforum.. this->DataGrid is a new wxDataViewCtrl I couldn't find any DeleteAllItems() method, wether in wxDataViewCtrl, nor in its baseclasses, but that seems not to be the prob... but it's pretty unclear, what EmpList is, it's no...
by achim
Wed Jun 04, 2008 8:32 am
Forum: C++ Development
Topic: creating GUI in different classes -> crash (newbie questi
Replies: 2
Views: 673

salue,

set a breakpoint at the begining of void MyFrame::OnNNET(wxCommandEvent& WXUNUSED(event)), to see where it crashes, this will propably safe searching time..
by achim
Wed Jun 04, 2008 8:23 am
Forum: C++ Development
Topic: vector<wxString> problem ?
Replies: 8
Views: 1732

hi,

let's see the implementation of std::_Destroy<wxString>(wxString*), line 61 (don't know witch file)
by achim
Wed Jun 04, 2008 4:51 am
Forum: C++ Development
Topic: Help in wxArray and structure
Replies: 4
Views: 1215

hi mohan, now I see, but, as far as i know, this structure handling isn't possible within using WX_DECLARE_OBJARRAY(..). Here you declare the array of type your structure , but creating a new instance of your structure does not add it automatically to the array, you have to do it manually. On the ot...
by achim
Tue Jun 03, 2008 6:22 am
Forum: C++ Development
Topic: Help in wxArray and structure
Replies: 4
Views: 1215

hi, it's not clear, what's exactly your prob, but looking to to it incomplete part of adding v and v1 to MyArray, i try to guess what you need: MyArray.Add(v); MyArray.Add(v1); // and getting them back; size_t n = 0; variable VoA = MyArray.Item(n); Look to the wxArray documentation, to see all possi...
by achim
Sat Apr 05, 2008 8:38 am
Forum: C++ Development
Topic: NoteBook left oriented tabs do not resize pages
Replies: 1
Views: 571

Re: NoteBook left oriented tabs do not resize pages

Hi Rob, well I guess, that on using wxNB_LEFT tabs, there's not enough place for the, and here I really guess, m_SwitchPanel->GetSizer() (a wxStaticBoxSizer?), that probably has been created with the wxHORIZONTAL flag. The text and the radio buttons seems to need more horizontal space, than availabl...