AnnAutoCursor example for C++ Builder
This sample sets the Default and Move annotation cursors
void TForm1::SampleAnnAutoCursors()
{
L_HCURSOR hCursorMove;
L_HCURSOR hCursorDefault;
// load the cursors from files
hCursorDefault= (L_HCURSOR)LoadCursorFromFile("c:\\Default.cur");
hCursorMove= (L_HCURSOR)LoadCursorFromFile("c:\\Move.cur");
// Set
LEADAnn1->AnnAutoCursor[ANNAUTOCURSOR_DEFAULT]= hCursorDefault;
LEADAnn1->AnnAutoCursor[ANNAUTOCURSOR_MOVE]= hCursorMove;
}