Results 1331 - 1340 of 1635.
NAME SL_SetBackPen -- sets the background drawing pen. SYNOPSIS SL_SetBackPen(winhandle, pen); A0 D0 void SL_SetBackPen(WINHANDLE, LONG); FUNCTION Sets the graphics background drawing pen to one of the predefined pens. INPUTS winhandle - as returned by SL_CreateWindowA. pen - a value as returned by SL_AllocPenRGB or one of: PEN_BACKGROUND PEN_TEXT...
NAME SL_SetLineStyle -- sets the line pattern. SYNOPSIS SL_SetLineStyle(winhandle, pattern); A0 D0 void SL_SetLineStyle(WINHANDLE, UWORD); FUNCTION Sets the line pattern. The pattern is a 16 bit pattern, where a 1 represents an on pixel and a 0 represents and off pixel. INPUTS winhandle - as returned by SL_CreateWindowA. pattern - a 16 bit pattern. NOTE...
NAME SL_MAlloc -- allocate memory from the system. SYNOPSIS memory = SL_MAlloc(apphandle, size); D0 A0 D0 void * SL_MAlloc(APPHANDLE, SLMSIZE); FUNCTION Allocates <size> bytes from the system and returns a pointer to it. The memory is cleared before returning it to the application. INPUTS apphandle - as returned by SL_AppInitA. size - the number...
NAME SL_MAvail -- returns amount of free memory available. SYNOPSIS size = SL_MAvail(); D0 SLMSIZE SL_MAvail(void); FUNCTION Returns the number of bytes of free memory available to the system. RESULTS size - the number of bytes of free memory. SEE ALSO SL_MAlloc, SL_MFree.
NAME SL_MHFree -- frees the memory handle allocated by SL_MHAlloc. SYNOPSIS SL_MHFree(memhandle); A0 void SL_MHFree(MEMHANDLE); FUNCTION Frees the handle and all memory allocated by SL_MHAlloc. The handle does not have to be unlocked to be freed. INPUTS memhandle - as returned by SL_MHAlloc. SEE ALSO SL_MHAlloc, SL_MHGrow, SL_MHShrink, SL_MHRealloc,...
NAME SL_MHShrink -- decreases the size of a memory handle. SYNOPSIS success = SL_MHShrink(memhandle, size); D0 A0 D0 SLFLAG SL_MHShrink(MEMHANDLE, SLMSIZE); FUNCTION Decreases the size of a memory handle by size bytes. If the new size of the handle is less than half of it's original size, and the difference between the two sizes is greater than 5k, then...
NAME SL_SetMHAttr -- sets the flags for a memory handle. SYNOPSIS SL_SetMHAttr(memhandle, flags); A0 D0 void SL_SetMHAttr(MEMHANDLE, ULONG); FUNCTION Sets/Changes the flags for a memory handle after it has been allocated. INPUTS memhandle - as returned by SL_MHAlloc. flags - the new flags for the memhandle. MEMFLG_PRUGEABLE MEMFLG_GROWABLE MEMFLG_LOCKED...
NAME SL_MHLock -- locks a memory handle for use. SYNOPSIS memptr = SL_MHLock(memhandle); D0 A0 void *SL_MHLock(MEMHANDLE); FUNCTION Locks a memory handle, so the actual memory may be accessed. All memory handles must be locked prior to use so the OS does not move or purge the memory out from under an application. Locking is the only way to get a pointer...
NAME SL_CreateRequester -- allocates a requester. SYNOPSIS reqhandle = SL_CreateRequester(apphandle, reqid); D0 A0 D0 REQHANDLE SL_CreateRequester(APPHANDLE, UWORD); FUNCTION Allocates the requester identified by <reqid> but does not display it. INPUTS apphandle - as returned by SL_AppInitA. reqid - the requester to allocate. RESULTS reqhandle - a...
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...
PageStream Scripting Documentation
BME User Documentation
BME Scripting Documentation
PageLiner User Documentation
PageLiner Scripting Documentation
HHV User Documentation
PageStream Web Site
PageStream Web Site Documentation
PageStream Document Gallery
PageStream Script Gallery