Version: |
9.0.0 |
Description: |
Sets the current user tool to be a snap. |
Declaration: |
|
C/C++ |
extern "C" vbool WINAPI VCGetUserToolIsSnap(short* iError); |
Delphi |
function VCGetUserToolIsSnap(var iError: SmallInt): WordBool; stdcall; |
ActiveX/COM |
Function GetUserToolIsSnap() As Integer |
Parameters: |
tf - user tool is a snap or not |
Return Value: |
user tool is a snap or not |
iError Code: |
0 - Success |
Notes: |
Snaps are nested tools which send a point to the previous tool when they are done. Because the user tool must be nested, the user tool must have been created with VCSetUserToolEx by using the USERTOOL_IS_NESTED flag in order to set it as a snap. |
See Also: |
VCSetUserToolEx, VCGetUserToolFlags, VCGetUserToolSnapPoint, VCGetUserToolSnapable |