The user operates a gadget by pressing the select button while the mouse pointer is within the gadget's select box. Intuition provides two ways of notifying your program about the user operating a gadget. If your application needs immediate notification when the gadget is chosen, set the gact_immediate flag in the gadget's activation field. intuition will send an idcmp_gadgetdown message to the window's userport when it detects the mouse select button being pressed on the gadget. If the application needs notification when the gadget is released, i.e., when the user releases the mouse select button, set the gact_relverify (for "release verify") flag in the gadget's activation field. for boolean gadgets, Intuition will send an idcmp_gadgetup message to the window's userport when the mouse select button is released over a gact_relverify gadget. The program will only receive the IDCMP_GADGETUP message if the user still has the pointer positioned over the select box of the gadget when the mouse select button is released. If the user moves the mouse out of the gadget's select box before releasing the mouse button an idcmp_mousebuttons event will be sent with a code of SELECTUP. This indicates the user's desire to not proceed with the action. boolean gadgets that are gact_relverify allow the user a chance to cancel a selection by rolling the mouse off of the gadget before releasing the select button. string gadgets have a slightly different behavior, in that they remain active after the mouse button has been released. The gadget remains active until Return or Enter is pressed, the user tabs to the next or previous gadget, another window becomes active or the user chooses another object with the mouse. An idcmp_gadgetup message is only sent for gact_relverify string gadgets if the user ends the gadget interaction through the Return, Enter or (if activated) one of the tab keys. gact_relverify proportional gadgets send idcmp_gadgetup events even if the mouse button is released when the pointer is not positioned over the select box of the gadget. Gadgets can specify both the gact_immediate and gact_relverify activation types, in which case, the program will receive both idcmp_gadgetdown and idcmp_gadgetup messages.