Expanding wxComboBox Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
clyde729
Super wx Problem Solver
Super wx Problem Solver
Posts: 426
Joined: Mon May 29, 2006 10:50 pm
Location: Jena, Germany

Expanding wxComboBox

Post by clyde729 »

Hi,

I need to expand a wxComboBox, when a certain event happens (let's say, the Click-Event on another button or a Key-Event).

I didn't find a (platform independent) way to make the ComboBox expand. Could you tell me how to do this?

Thanks


Clyde

Windows XP, MingW, wxWidgets 2.6.2, wxDevCpp
upCASE
Moderator
Moderator
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE »

Hi!
I'm afraid that there is no x-platform way to do this.
However, on windows you can send the CB_SHOWDROPDOWN message to the control in order to achieve that. I'm sorry, but I can't tell you about GTK and Mac.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
clyde729
Super wx Problem Solver
Super wx Problem Solver
Posts: 426
Joined: Mon May 29, 2006 10:50 pm
Location: Jena, Germany

Post by clyde729 »

Ok, thanks. maybe it's better to take wxListBox and make it a little bit smaller on the GUI.

Clyde
OS: Windows XP Home, Compiler: MingW, Version: wxWidgets 2.8.0, IDE: wx-Devcpp
Post Reply