Borders appearing around menu in windows

From: John Rocha (jrr_at_employees.org)
Date: 03/28/05


Date: Sun, 27 Mar 2005 19:11:57 -0800


Greetings all,

I am having a problem with uncontrolled borders around my menus when the script
is running on Windows XP. When the script runs on a unix machine, only the
toplevl has a border around it, but when running on Windos XP machine I get a
border.

I've attached two small images below to illustrate what I'm observering.

The reason this is particularly noticable is that I'm playing with an
application that is basically reverse video, black background, white foreground,
so having the grey border around menus is really irritating.

An example of the test code that generated this silly menu is as follows:
__________

option add *background black
option add *foreground white
option add *BorderWidth 0
option add *menu*activeBackground #202020
option add *menu*activeForeground white

. configure -background black

menubutton .mb -text Sampler -menu .mb.menu
pack .mb -padx 10 -pady 10

set m [menu .mb.menu -tearoff 0 -relief flat]

$m add command -label Hello! -command {puts "Hello World"}
$m add command -label "Blarg"
__________

  From poking around, I believe this might have something to do with platforms
window manager? I think this might be the problem, I just do not know what the
solution is, or if it can be resolved. (I mean OTHER than not doing a reverse
video type application).

Any wisdom you could share to help resolve this issue would be greatly appreciated.

Thanks,

-=John





windows.gif
unix.gif
Quantcast