Code Comments
Programming Forum and web based access to our favorite programming groups.I have a problem only on Windows platforms, not unix:
I create a compound menu with an icon and a label. Trouble is:
the icon is badly displayed until visited by the mouse pointer.
Any help would be appreciated...
Thanks!
David.
------------------------------
Simple example:
menu .m -tearoff 0
image create photo img -file {C:\WINDOWS\Web\bullet.gif}
.m add command -compound left -image img -label "foo"
.m post 100 100
Post Follow-up to this messageI'm unable to reproduce the problem on Windows XP with Tcl/Tk 8.4.9 and 8.5.0a2. The icon looks fine whether the mouse is over it or not. What versions of Windows and Tcl/Tk are you dealing with?
Post Follow-up to this messageDavid wrote: > I have a problem only on Windows platforms, not unix: > I create a compound menu with an icon and a label. Trouble is: > the icon is badly displayed until visited by the mouse pointer. This is a known issue only when you have the fade or scrolling effect turned on for menus. -- Jeff Hobbs, The Tcl Guy http://www.ActiveState.com/, a division of Sophos
Post Follow-up to this messageJeff Hobbs <jeffh@removethis.activestate.com> writes: >David wrote: > >This is a known issue only when you have the fade or scrolling >effect turned on for menus. > Which is, unfortunately, the default. -- Pat Thoyts http://www.zsplat.freeserve.co.uk/resume.html To reply, rot13 the return address or read the X-Address header. PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.