Eric Schreiber
2004-01-19 00:46:23 UTC
I've got kind of an oddball need for a specific program, and I suspect
I'm going to have to write a custom component from scratch - though
I'd be happy to find one already out there, if anyone has any
suggestions.
What I need is a menu component that I an control the 'pop-up'
direction for, and also the colors of the font, background, icon area,
and so on.
In terms of color and appearance control, the freeware XPMenu from
www.shagrouni.com/english/software/xpmenu.html is ideal. However, as
it makes use of the standard TMainMenu control, it doesn't allow for
my other need...
My application is a launcher utility, visually nothing more than a
menu bar that snaps to the top or bottom edge of the screen. When it's
snapped to the bottom, it may be sitting above the Windows taskbar. In
this location, when there are three or more items in a menu, the menu
pops up, above the menu bar, but if there are only one or two items,
it drops down below the bar.
Several of my users have asked for the menu to always pop up when
docked to the bottom edge of the desktop, and they're right - it
should.
I've been looking for awhile and found nothing that quite matches what
I need, so I'm thinking of writing my own. I'm lucky in that I only
need two levels of depth, not an open-ended arrangement like a
TMainMenu, so the logic will be simpler. But still, it's going to be
non-trivial.
I'd happily welcome any suggestions as to how to proceed, what base
class to start with, pitfalls I might encounter, or brands of beer to
make the effort less painful.
Thanks in advance.
--
www.kobayashi.com
www.ericschreiber.com
I'm going to have to write a custom component from scratch - though
I'd be happy to find one already out there, if anyone has any
suggestions.
What I need is a menu component that I an control the 'pop-up'
direction for, and also the colors of the font, background, icon area,
and so on.
In terms of color and appearance control, the freeware XPMenu from
www.shagrouni.com/english/software/xpmenu.html is ideal. However, as
it makes use of the standard TMainMenu control, it doesn't allow for
my other need...
My application is a launcher utility, visually nothing more than a
menu bar that snaps to the top or bottom edge of the screen. When it's
snapped to the bottom, it may be sitting above the Windows taskbar. In
this location, when there are three or more items in a menu, the menu
pops up, above the menu bar, but if there are only one or two items,
it drops down below the bar.
Several of my users have asked for the menu to always pop up when
docked to the bottom edge of the desktop, and they're right - it
should.
I've been looking for awhile and found nothing that quite matches what
I need, so I'm thinking of writing my own. I'm lucky in that I only
need two levels of depth, not an open-ended arrangement like a
TMainMenu, so the logic will be simpler. But still, it's going to be
non-trivial.
I'd happily welcome any suggestions as to how to proceed, what base
class to start with, pitfalls I might encounter, or brands of beer to
make the effort less painful.
Thanks in advance.
--
www.kobayashi.com
www.ericschreiber.com