Writing Event Functions for DRAGETP and VIEWETP

The key control structure whose pointer is passed to the event functions in the DRAGETP and VIEWETP event tables is initialized by the calling function (wn_drag(), wn_browse() or mf_browse()).

All of these functions initialize the tag member of the key control structure to VIEW_TAG. The window pointer member is initialized to the pointer to the window to be dragged or viewed. From this structure member, you have access to the window settings and options. The action code member is used internally. To achieve the same effect as setting the action code, call the event functions available for these event tables.


Home Contents Previous Next