Cosmetic problem with ListCtrl combined with Toolbar

I am adding a Toolbar to my little app and noticed that I am loosing some of the textctrl header text when the tool tip of the toolbar item is shown and then move the cursor away. The textctrl header text is NOT totally refreshed (sometimes it works, but most of the times I loose at least a few pixels, when doing it multiple times I loose just about all text of the column 0 header).

Tried to show problem just with demo.listctrl, but I think the toolbar needs a wxFrame (at least I could not make it show), so I enclose my list test application in which I am trying things out (sorry not the cleanest code at all!).

Just run testtoolbar.py (in a folder with images.py) and move your mouse over either of the two tool bar buttons to see the problem.

Versions: wxPython 2.3.0.7, Python 2.2.2 on Windows XP Professional

See you
Werner

testtoolbarP1.py (11.6 KB)

testtoolbar.py (619 Bytes)

testtoolbarF1.py (3.27 KB)

Werner F. Bruhin wrote:

I am adding a Toolbar to my little app and noticed that I am loosing some of the textctrl header text when the tool tip of the toolbar item is shown and then move the cursor away. The textctrl header text is NOT totally refreshed (sometimes it works, but most of the times I loose at least a few pixels, when doing it multiple times I loose just about all text of the column 0 header).

Tried to show problem just with demo.listctrl, but I think the toolbar needs a wxFrame (at least I could not make it show), so I enclose my list test application in which I am trying things out (sorry not the cleanest code at all!).

Just run testtoolbar.py (in a folder with images.py) and move your mouse over either of the two tool bar buttons to see the problem.

Versions: wxPython 2.3.0.7, Python 2.2.2 on Windows XP Professional

It doesn't do that on my win2k box, and my XP box is currently down so I can't test it there. What XP theme are you using? The Classic theme (or whatever it is called) is known to be hosed and very non-backwards compatible. If that is what you are using then try the default theme or remove the python.exe.manifest file so it will use the old version of the common controls instead.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Hi Robin,

- When renaming the manifest file this problem and the problem I mentioned some time ago of the horizontal ruler lines disappearing when scrolling with a wheel mouse are both fixed.

- With the manifest file and the Windows XP theme this problem is fixed, but the wheel mouse scrolling still looses the horizontal ruler lines.

See you
Werner

Robin Dunn wrote:

···

Werner F. Bruhin wrote:

I am adding a Toolbar to my little app and noticed that I am loosing some of the textctrl header text when the tool tip of the toolbar item is shown and then move the cursor away. The textctrl header text is NOT totally refreshed (sometimes it works, but most of the times I loose at least a few pixels, when doing it multiple times I loose just about all text of the column 0 header).

Tried to show problem just with demo.listctrl, but I think the toolbar needs a wxFrame (at least I could not make it show), so I enclose my list test application in which I am trying things out (sorry not the cleanest code at all!).

Just run testtoolbar.py (in a folder with images.py) and move your mouse over either of the two tool bar buttons to see the problem.

Versions: wxPython 2.3.0.7, Python 2.2.2 on Windows XP Professional

It doesn't do that on my win2k box, and my XP box is currently down so I can't test it there. What XP theme are you using? The Classic theme (or whatever it is called) is known to be hosed and very non-backwards compatible. If that is what you are using then try the default theme or remove the python.exe.manifest file so it will use the old version of the common controls instead.