Search found 307 matches

by metalogic
Thu Jun 26, 2008 6:47 am
Forum: Component Writing
Topic: Issues with Enhanced wxTreeListCtrl
Replies: 12
Views: 10845

Re: Issues with Enhanced wxTreeListCtrl

When the text is too wide to fit in a column, ellipsis appear but they truncate the string leaving only the first character rather than fitting as much text as possible before the ellipsis. I got to the bottom of this one. Line 4128: text = MakeShortString(dc,text,col_w-x,0); Should simply be: text...
by metalogic
Wed Jun 25, 2008 12:04 am
Forum: Component Writing
Topic: How to implement a display according to my concept?
Replies: 4
Views: 2755

Re: How to implement a display according to my concept?

The rest could be normal textfields but how could these controls be stacked? If I understand correctly, you are asking how to make a new component that is composed of multiple components. You can look at wxSpinCtrl for an example as that is a combination of a wxSpinButton and a textbox. It's defini...
by metalogic
Sat Jun 07, 2008 6:00 am
Forum: Announcements and Discoveries
Topic: ANN : Enhanced wxTreeListCtrl
Replies: 44
Views: 25003

Didn't want to make this thread any longer so I started a fresh one:

http://forums.wxwidgets.org/viewtopic.php?p=84770#84770
by metalogic
Sat Jun 07, 2008 5:59 am
Forum: Component Writing
Topic: Issues with Enhanced wxTreeListCtrl
Replies: 12
Views: 10845

Issues with Enhanced wxTreeListCtrl

First of all, thanks a lot Guru for this enhancement. I'm looking to build upon what you have done and enhance it further. Hopefully you will be interested in collaborating so that we can have a single "enhanced" version. But that will come later, I'm just beginning to do some proof-of-con...
by metalogic
Sat May 24, 2008 6:10 am
Forum: General Development
Topic: Do any GUI builders support wxDataViewCtrl?
Replies: 3
Views: 1745

Thank you both for your replies. I understand that many GUI builders allow for adding new controls that they don't support out of the box. I have in fact done this in the past in DialogBlocks with a custom wxGrid I worked on. I was coming from a different angle. I decided that GUI designer support w...
by metalogic
Thu May 22, 2008 5:42 am
Forum: General Development
Topic: Do any GUI builders support wxDataViewCtrl?
Replies: 3
Views: 1745

Do any GUI builders support wxDataViewCtrl?

I need an advanced grid and I'm evaluating whether to extend wxGrid, extend Enhanced wxTreeListCtrl or try my hand at wxDataViewCtrl. Support for wxDataViewCtrl seems to be a bit scarce at the moment. Neither wxFormBuilder nor DialogBlocks appear to support it. Can anyone recommend a GUI builder tha...
by metalogic
Sat Mar 31, 2007 8:48 am
Forum: General Development
Topic: Qt WidgetStack, Java CardLayout
Replies: 14
Views: 7219

You could probably accomplish this with panels and just showing one while hiding the others.
by metalogic
Thu Mar 29, 2007 6:49 pm
Forum: C++ Development
Topic: whats that for a widget?.....(stupid question)
Replies: 1
Views: 986

I believe you may be thinking of wxPropertyGrid
by metalogic
Mon Mar 19, 2007 8:11 pm
Forum: Compiler / Linking / IDE Related
Topic: Picking a compiler...
Replies: 3
Views: 1626

Like biplab said, you just need to install the Platform SDK. Look on the internet for instructions. I think your best bets boil down to this for compilers on Windows: VC++ : Best compiler for Windows (except for maybe Intel but that one is $$$). Compiles fast and produces small executables. - OR - G...
by metalogic
Sat Mar 10, 2007 10:47 pm
Forum: C++ Development
Topic: events and id
Replies: 3
Views: 1506

I'm glad that worked. But you should have accepted my answer, not your reply. Otherwise I don't get my points. :(
by metalogic
Fri Mar 09, 2007 11:11 pm
Forum: C++ Development
Topic: Broken Radio Box in 6.10.1
Replies: 4
Views: 1701

Try posting under the wxDev-C++ topic:
http://forums.wxwidgets.org/viewforum.php?f=28
by metalogic
Thu Mar 08, 2007 6:03 pm
Forum: C++ Development
Topic: events and id
Replies: 3
Views: 1506

You might be able to use wxAny for the ID and then within the even handler check whether it's the ID that you want.
by metalogic
Mon Mar 05, 2007 7:03 pm
Forum: C++ Development
Topic: wxTreeCtrl - How to manage data
Replies: 11
Views: 2832

Simply cast it:

Code: Select all

(FrameData*)WxTreeCtrl->GetItemData(id);
by metalogic
Sun Mar 04, 2007 11:53 pm
Forum: C++ Development
Topic: wxGrid -> cell editor always show, possible??
Replies: 3
Views: 1173

My suggestion would be to leave the editor be shown only when needed as it is now. What you really want is the editor to appear on single click rather than double click. That would be a much simpler solution to your problem and give you the same results. You will likely have to modify the wxGrid sou...
by metalogic
Sat Feb 03, 2007 11:04 pm
Forum: General Development
Topic: Messaging between GUI components
Replies: 10
Views: 3156

Why does this work? Because of an oddity in wx's event handling mechanism. In most (all?) GUI frameworks, events propagate by default. You have to explicitly stop the propagation. In wx, it's backwards, you have to explicitly force the propagation of events with the event.Skip() call. Not sure why ...