Version: |
4.0 |
Description: |
Sets the snap types for Running Snaps. |
Declaration: |
|
C/C++ |
extern "C" DWORD WINAPI VCGetRunningSnapType(short*
iError); |
Delphi |
function VCGetRunningSnapType(var iError: Smallint): Longint;
stdcall; |
ActiveX/COM |
Function GetRunningSnapType() As DWORD |
Parameters: |
dwFlags - the Running Snap bitwise
flags. These flags are defined in VCTypes32.h: wOperation - The flag which controls
how the dwFlags are handled. These flags are defined in VCTypes32.h: |
Return Value: |
The current Running Snap bitwise flags. These flags are defined in VCTypes32.h |
iError Code: |
0 - Success |
Notes: |
VCSetRunningSnapType can be used to add to, remove from, or overwrite the current running snap flags by using the desired wOperation flag. To create a Visual CADD™ "UserTool" that responds to running snaps, you must use VCSetUserToolSnapable. If you are using the Visual CADD™ DLLs in a stand-alone application, you must use VCOnTimerRunningSnap to have running snaps work. |
See Also: |
VCOnTimerRunningSnap, VCGetUserToolSnapable, VCGetAllLayersSnap, VCGetSnapPercentVal, VCGetSymSnap |