EWidgetMessageTypes

Sean Kelly (kelly@charm.physics.ucla.edu)
Sat, 26 Jun 1999 18:56:48 -0700 (PDT)


Hi Rooters

To take advantage of MK_MSG I used statements such as,

#define M_NEW_1DHISTO ((EWidgetMessageTypes) 9)

Casting an integer outside the range of the enumeration worked (at least
on my platform) but I gather this is not the way to go.

The comment in the source (TGWidget.h)

//--- Widget messages and submessages
// (sub messages must be in the range 1-255)
// (these should be on a separate include file)

seems to indicate that sub-messages can be valued up to 255 but
the enumeration has a max val of 8 ?

thanks for any help

Sean
_____________________________________________

Sean Kelly
Dept. of Physics
University of California Los Angeles
office tel. (310)-825-6035
fax (310)-206-4397
voice mail (310)-259-3747
_____________________________________________