Version: |
2.0 |
Description: |
Changes the Visual CADD™ cursor to the input type. |
Declaration: |
|
C/C++ |
extern "C" void WINAPI VCSetCursor(short* iError, char* dzName); |
Delphi |
procedure VCSetCursor(var iError: Smallint; dzName: PAnsiChar); stdcall; |
ActiveX/COM |
Sub SetCursor(ByVal dzName As String) |
Parameters: |
szName - the string value for
the cursor type. |
Notes: |
The command will simply change the cursor type to one of the default Windows cursors. It will not set an appropriate tool. Care should be taken to ensure the tool operation corresponds to the chosen cursor. For example, you probably do not want the pointer cursor when the tool is drawing a line. Ideally the cross hairs should be displayed. To create a non-Windows cursor, for instance a Match cursor, use the VCSetCursorEx call instead. |
See Also: |
VCSetCursorEx, Windows: API SetCursor |