SL_DoRequester


NAME
SL_DoRequester -- opens and "runs" a requester.

SYNOPSIS
winmsg = SL_DoRequester(reqhandle, func, userdata);
D0A0 A1 D0

struct WinMsg *SL_DoRequester(REQHANDLE, SWORD (*)(), SLTAGDATA);

FUNCTION
Opens the requester up and "runs" it until the callback func tells it
to close. At close the last message is returned.

The callback function returns these values:
REQ_CONTINUE or REQ_OK
REQ_QUIT
REQ_EXIT (for asynchronous requesters)

INPUTS
reqhandle - as returned by SL_CreateRequester.
func - a callback function that will handle all requester events.
see Callback-Window for more information.
userdata - this is sent to the requester in the userdata field
of the WinMsg structure.

RESULTS
winmsg - the last message that was sent to the callback function.

SEE ALSO
SL_CreateRequester, SL_FreeRequester, SL_StartRequester, SL_EndRequester, SL_GetReqObjAttr, SL_SetReqObjAttrA, SL_IsRequesterOpen.

 

SL_DoRequester  Command Section By Type  url:SL_DoRequester
  created:2008-03-01 23:36:26   last updated:2008-03-01 23:36:26
  Copyright © 1985-2017 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_DoRequester
There are no user contributed comments for this page.