http://bugs.winehq.org/show_bug.cgi?id=17654
--- Comment #3 from Igor Tarasov tarasov.igor@gmail.com 2009-03-11 06:49:50 --- Here is what I've found:
"Adding controls to a toolbar has been something people have wanted to do since the first common toolbar control, back when Win95 was released, and the standard practice for this works something like this:
* Change the placeholder button to be a separator, as thanks to a design quirk, the width of a separator can be changed. * Change the width of the separator to match that of the control you want to create. * Create the control using the separator button rect as the size, with the toolbar as the control's parent.
This has worked fine for various flavour framework apps for many years"
http://www.codeproject.com/KB/wtl/CToolBarHelper.aspx?display=Print (there is some code for doing this).
Seems that MFC also uses this technique (the application that was initally referenced in this bug is MFC-based one). MFC example: http://www.ucancode.net/Visual_C_Control/Place-Combo-Edit-Box-Progress-Contr...
Could anybody of developers, please, say at least something on this bug?