Sunken menu bar in WinXP
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Sunken menu bar in WinXP

From: Andrés García <fandom@spamme.telefonica.net>
Date: Wed Feb 22 2006 - 01:42:40 CET

Hi,

If you execute the code at the bottom in WinXP, the
menu bar appears a bit sunken while in Win2k it looks
flat. Is there a way to prevent that 'sunken' effect?

Thanks,
Andres

menu .menuBar
. config -menu .menuBar

set menuBar(1) [menu .menuBar.file]
set menuBar(2) [menu .menuBar.edit]

.menuBar add cascade -label File -menu $menuBar(1)
.menuBar add cascade -label Edit -menu $menuBar(2)

set testFrame [frame .testFr]
set testLabel [label $testFrame.lb -text "Hello World!"]

pack $testFrame -fill both -side bottom
pack $testLabel
Received on Sun Apr 30 02:11:58 2006