+--------------------------------------+ | MESSAGE BOXES WITH EMBEDDED GRAPHICS | | by Joseph K. Horn | +--------------------------------------+ -- for G/GX only -- Download 'GRBXDIR' into your HP 48G/GX, and press WARN and HELLO. When you're done marvelling, read the following to see how you can easily make your own graphic message boxes too. Jamus@nohost.com writes: > What are the arguments for LIBEVAL #B1000. In the FAQ it's listed > as "Displays message box with grob". I tried a few things and no > avail! Please help! It takes five inputs from the stack: 5: message (string) 4: max text line width (system binary) 3: min text line width (system binary) 2: graphic object (only use relatively small ones!) 1: XLIB 177 2 (creates the "OK" menu) The following directory object contains a program called 'GRBX' (GRaphic message BoX) which simplifies this a bit by requiring only two inputs: 2: message string 1: grob The max width is fixed at 12, and the min width at 10. GRBX is only 38.5 bytes long, but performs object type checking so it's safe to use (unlike #B1000h LIBEVAL, which can nuke your memory if not used correctly). Also included are 'WARN' and 'HELLO' as examples of GRBX in action. The first is a visual pun that you might actually find useful. The second is a good example of how the grob can be larger than the message box, creating a pleasant overlapping effect. Enjoy! +-----------------+ | -Joseph K Horn- | | joehorn@usa.net | +-----------------+