put an Item at the right side of Toolbar???

Hi,

  I need to put an widget named SearchBox onto my toolbar, and I have other stuff on the toolbar too, I'd like to put the SearchBox at the right side of the toolbar just next to the right edge like this:

···

----------------------------------------------

new | open | empty here! | SearchBox| ----------------------------------------------

    And I don't know how to do it. Hope anybody help me.
    
    Any help would be appreciated!

    Bruce Who
    HuXuZhao@hotmail\.com
      2005\-04\-01

Bruce Who wrote:

Hi,

I need to put an widget named SearchBox onto my toolbar, and I have
other stuff on the toolbar too, I'd like to put the SearchBox at the
right side of the toolbar just next to the right edge like this:

The toolbar itself doesn't have that ability, but you can probably do it
yourself by *not* using AddControl to let the toolbar manage the search
box, but instead adjusting the position of the search box in the
Toolbar's EVT_SIZE yourself.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!