Community
Participate
Working Groups
When the mnemonic char is included in the parameter of setText method for TabItem, I found that it cannot be displayed in the UI. Later, I found that such comments in the source code of _setText in TabItem class. /* * Bug in Windows. In version 6.00 of COMCTL32.DLL, tab * items with an image and a label that includes '&' cause * the tab to draw incorrectly (even when doubled '&&'). * The image overlaps the label. The fix is to remove * all '&' characters from the string. */ I'm wondering if we any workaround for this defect? Thanks! Rocky
(In reply to comment #0) > I'm wondering if we any workaround for this defect? What version of Windows are you running ? Try removing the code that removes the '&' from the string. Is possible the bug is fixed in Windows (COMCTL32.DLL 6.01 or greater). That was the case for Bug 154904.
(In reply to comment #1) > (In reply to comment #0) > > I'm wondering if we any workaround for this defect? > > What version of Windows are you running ? > Try removing the code that removes the '&' from the string. Is possible the bug > is fixed in Windows (COMCTL32.DLL 6.01 or greater). That was the case for Bug > 154904. My system is Windows XP + SP3, and the tester's machine is Windows 2003. Do you mean that I need to 'hack' the code of TabItem?
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.