[comp.sys.ibm.pc] Advanced menu_Printf

moriarty@tc.fluke.COM (Jeff Meyer) (08/16/89)

I've been using the C-Scape interface package for two months now, and have
run into a brick wall that I hope someone can get me out of...

Anyone using menu_Printf() can change the color of the type being printed
using either the @a or @c commands in menu_Printf().  E.g.

            menu_Printf(menu,"Normal type, @a[0x70] reverse type");

However, I'm wondering if anyone has an idea of how to do this inside a
menu_Printf() field specification.  In other words, I'd *like* to do
something like this:

            menu_Printf(menu,"@f[Normal type @a[0x70] reverse type]", NULL,
                        &menu_funcs);

Unfortunately, it appears that placing an @a within a field specification
(@f[]) is illegal.  Does anyone know of any other ways to so something like
this?  Or, failing color changes within a field, how about placing an
underline under a character?  (This is to get first characters of pull-down
menus to appear highlighted.)

Thanks in advance for any help you can give...

                           "I've been working on the
                            assumption that Jenny's
                            Earth is an imperfect
                            replica of our own."
                                                     "I believe that."
---
                                        Moriarty, aka Jeff Meyer
INTERNET:     moriarty@tc.fluke.COM
Manual UUCP:  {uw-beaver, sun, hplsla, thebes, microsoft}!fluke!moriarty
CREDO:        You gotta be Cruel to be Kind...
<*> DISCLAIMER: Do what you want with me, but leave my employers alone! <*>