Articles
Forums
Downloads
Autodocs
Home
/
Autodocs
/
getcolor.gadget
NAME
GCOLOR_REQUEST
Invokes the color requester.
SYNOPSIS
result = DoMethodA(obj, msg);
D0
ULONG DoMethodA(Object *,
struct gcRequest
*);
FUNCTION
Opens the color requester and blocks the given window. When the user has finished making adjustments the selection details are sent via the OM_NOTIFY mechanism. All the attributes marked with OM_NOTIFY are sent to the receiver.
INPUTS
obj
getcolor object pointer
msg
pointer to fully initialized
struct gcRequest
(see
gadgets/getcolor.h
)
RESULT
Returns non-zero if successful or 0 on error.