[Bug 46209] New: TB_GETBUTTONINFO does not return toolbar text
https://bugs.winehq.org/show_bug.cgi?id=46209 Bug ID: 46209 Summary: TB_GETBUTTONINFO does not return toolbar text Product: Wine Version: 3.21 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 Assignee: wine-bugs(a)winehq.org Reporter: nikolaysemenkov(a)gmail.com Distribution: --- Hi, Wine failed to return the toolbar text, even if just successfully add it, then next attempt to get it in a row also failed. Code: TBBUTTON tbb; tbb.idCommand = 123; tbb.iBitmap = I_IMAGENONE; tbb.fsState = TBSTATE_ENABLED; tbb.fsStyle = BTNS_BUTTON; tbb.dwData = 0; tbb.iString = int(SendMessage(hwndToolBar, TB_ADDSTRING, 0, LPARAM(TEXT("TEXT2TEST")))); SendMessage(hwndToolBar, TB_ADDBUTTONS, 1, LPARAM(&tbb)); int nItem = 0; tchar szLabel[LSTR]; TBBUTTONINFO tbbi; tbbi.cbSize = sizeof(TBBUTTONINFO); tbbi.dwMask = TBIF_BYINDEX | TBIF_TEXT; tbbi.pszText = szLabel; tbbi.cchText = LSTR; SendMessage(hwndToolBar, TB_GETBUTTONINFO, WPARAM(nItem), LPARAM(&tbbi)); tbbi.pszText is empty on wine, but works on windows. Nik -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46209 --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- Thank you for the report, could you attach complete source code for such test program? If it's not possible, it's still would be interesting to see what styles you're using to create this window. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46209 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO --- Comment #2 from Nikolay Sivov <bunglehead(a)gmail.com> --- Nikolay, any news regarding that test case? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46209 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned? --- Comment #3 from Nikolay Sivov <bunglehead(a)gmail.com> --- This example works the same on Windows - it does not return text for this button. Without full test program it's hard to guess what went wrong. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46209 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution|--- |ABANDONED --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> --- Marking abandoned, it's unclear how to reproduce this and questions where left unanswered for a long time. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46209 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Austin English <austinenglish(a)gmail.com> --- Closing. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46209 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |RESOLVED --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- Closing. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=46209 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Closing bugs marked as abandoned -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla