home *** CD-ROM | disk | FTP | other *** search
- #include <scl1.h>
- #include <scl1clor.h>
-
- /*******************
- TagList example */
-
- struct TagList tl[]={
- 0,"Option 1",
- 0,"Option 2",
- 0,"Option 3",
- 0,"Option 4",
- 0,"Option 5",
- 0,"Option 6",
- 0,"Option 7",
- 0,"Option 8",
- 0,"Option 9",
- 0};
-
- main()
- {
- int i;
-
- InitMouse(IM_SHOW);
- if(TagList(WHITE_BLACK,BLACK_WHITE,tl) != -1)
- {
- printf("\nThe following options were tagged:\n");
- for(i=0;i < 9;++i)
- {
- if(tl[i].TagFl)
- printf("%s\n",tl[i].String);
- }
- }
- else
- printf("\nOperation canceled by user\n");
- }