xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_IdleDel()

Removes a task from the list of idle tasks.

Syntax

HB_IdleDel( <nTaskHandle> ) --> bAction

Arguments

<nTaskHandle>
This is the numeric task handle as returned by HB_IdleAdd().

Return

The function returns the code block assoiated with the task handle, or NIL if an invalid task handle is specified.

Description

Function HB_IdleDel() removes the task associated with the passed task handle from the internal list of idle tasks. The task handle must be a value returned by a previous call to the HB_IdleAdd() function. If the specified task exists, it is deactivated and the associated code block is returned.

Info

See also:HB_BackGroundAdd(), HB_IdleAdd(), HB_IdleState(), HB_IdleSleepMSec()
Category: Background processing , xHarbour extensions
Source:rtl\idle.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe