int MGetFGColorOption (const char *obj_name, int *pr, int *pg, int *pb)

Retrieves a Foreground Color option from the resource database

Documentation

Retrieves a Foreground Color option from the resource database. A Foreground Color option is stored in the application or the MGUI resource files using 'foreground' as the option name.
Returns:
If the option is found, a boolean value of 'True' is returned by the function and the RGB values are stored in the variables pointed to by 'pr', 'pg' and 'pb'. Otherwise the value 'False' is returned.
Parameters:
obj_name - Specifies the name of the object. An object in the DOS and Windows resource file is defined by enclosing its name in brackets and it is followed by option definitions.
pr - Points to an integer variable which to store the return red value to.
pg - Points to an integer variable which to store the return green value to.
pb - Points to an integer variable which to store the return blue value to.
See Also:
MSetFGColorOption

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++