InetCmdType

typedef enum tagInetCmdType

{

   INETCMD_LOAD = 0, /* load a file */
   INETCMD_SAVE = 1, /* save a file */
   INETCMD_CREATE_WIN = 2, /* create a window */
   INETCMD_SIZE_WIN = 3, /* size a new window */
   INETCMD_CLOSE_WIN = 4, /* close a window */
   INETCMD_SHOW_WIN = 5, /* show/hide the window */
   INETCMD_SET_RECT = 6, /* set bitmap display rectangles */
   INETCMD_SEND_ANN = 7, /* not implemented yet */
   INETCMD_ATTACH_BITMAP = 8, /* attach the bitmap to the control */
   INETCMD_FREE_BITMAP = 9, /* free the bitmap */
   INETCMD_GET_MAGGLASS_DATA = 10, /* get MagGlass needed data */
   INETCMD_USER_REG = 10000, /* start of registered user command values */
   INETCMD_USER_CUSTOM = 20000, /* start of custom user command values */ 

} InetCmdType;

The InetCmdType data type contains the predefined commands used by the Internet command methods.

Comments

Users are encouraged to register their commands with LEAD. The registered commands will go in the 10000-19999 interval. Registering commands will help avoid conflicts when two different applications talk to each other.

The custom user commands will be known only by the application that sent them.