[Bug 20570] New: In vb6 drop down combo width cannot be altered
http://bugs.winehq.org/show_bug.cgi?id=20570 Summary: In vb6 drop down combo width cannot be altered Product: Wine Version: 1.1.32 Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: winebug(a)pdadevelopments.co.nz when running wine version(1.1.32) on osx(winebottler), it has been discovered that drop down boxes do not expand to the width of the longest data row, when the following code at www.http://www.vbforums.com/showthread.php?p=593960 is run. The problem also occurs when running wine(stable) on centos 5.3 I have just started using wine, but I am guessing that either:- i) The set statement between vb6, or the corresponding win code, and the linux(X) gui is missing, or ii) The X drop down widget does not have a modify drop down width setting, or iii) none of the above :) Basically, SendMessage(mCombo.hwnd, CB_SETDROPPEDWIDTH, PixelWidth, 0) does not work. The drop down width stays at the initial combo box width, as set when the control was initially layed out. Or, the drop down combo width cannot be changed. thanks peter -- 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.
http://bugs.winehq.org/show_bug.cgi?id=20570 Vitaliy Margolen <vitaliy(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|All |Other Severity|normal |minor -- 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.
http://bugs.winehq.org/show_bug.cgi?id=20570 Alexander Scott-Johns <alexander.scott.johns+winebug(a)googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexander.scott.johns+wineb | |ug(a)googlemail.com --- Comment #1 from Alexander Scott-Johns <alexander.scott.johns+winebug(a)googlemail.com> 2009-11-04 09:47:02 --- (In reply to comment #0)
ii) The X drop down widget does not have a modify drop down width setting, or
Wine manages and draws its own widgets. (And X itself doesn't have any widgets - you need a toolkit like Gtk or Qt for that.)
SendMessage(mCombo.hwnd, CB_SETDROPPEDWIDTH, PixelWidth, 0) does not work.
CB_SETDROPPEDWIDTH appears to be implemented (dlls/user32/combo.c, line 2165). Are you sure this is the problem? http://source.winehq.org/git/wine.git/?a=blob;f=dlls/user32/combo.c;hb=HEAD#... Have you tried writing a reduced testcase in C? (i.e. so it's not some weird VB problem). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=20570 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source -- 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.
http://bugs.winehq.org/show_bug.cgi?id=20570 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx(a)gmail.com --- Comment #2 from Bruno Jesus <00cpxxx(a)gmail.com> 2011-08-20 21:41:24 CDT --- I can confirm this problem in 1.3.26. The SendMessage always return CB_ERROR (as it's possible to see in the source code from previous comment) although it sets the value droppedWidth correctly. The main problem is that the bounding box is calculated when the object is created and then no more updates are made. Even if new items are added. On Windows the droppedWidth value is used correctly after changed. I'm building some test cases and cross testing on windows. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=20570 --- Comment #3 from Bruno Jesus <00cpxxx(a)gmail.com> 2011-09-03 17:08:30 CDT --- Created an attachment (id=36218) --> (http://bugs.winehq.org/attachment.cgi?id=36218) Compiled test This is fixed by http://source.winehq.org/git/wine.git/commit/7c76a79ffa199c892f9d555bc12e2dd... I have added several different tests to wine and the attached .exe can be used to test too. Press combobox down button and you will see a list of items that has the same size from the combobox, then use the button below to change the combobox dropped size to 100, reopen the combobox and you will see it's larger =) It's possible to try setting any other value too in the bottom-left textbox. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=20570 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2011-09-06 04:19:29 CDT --- Fixed. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=20570 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2011-09-09 12:55:17 CDT --- Closing bugs fixed in 1.3.28. -- 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.
participants (1)
-
wine-bugs@winehq.org