[Bug 17654] Edit control on toolbar behaves badly

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 11 06:49:52 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=17654





--- Comment #3 from Igor Tarasov <tarasov.igor at 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-Control-On-ToolBar-CToolBar-VC-Example.htm

Could anybody of developers, please, say at least something on this bug?


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list