MIL_ID EventId, | //in |
MIL_INT64 InfoType, | //in |
void *UserVarPtr | //out |
This function allows you to get information about the event that caused the hook-handler function to be called. MgraGetHookInfo() should only be called within the scope of a 2D graphics list hook-handler function (see MgraHookFunction()).
Specifies the 2D graphics list event identifier received by the hook-handler function (see MgraHookFunction()). The event will be of the type passed to the HookType parameter of the hook-handler function.
See the Parameter associations section for possible values that can be specified.
Specifies the type of information to get.
See the Parameter associations section for possible values that can be specified.
Specifies the address in which to write the requested information.
See the Parameter associations section for possible values that can be returned.
The table below lists possible values for the EventId and InfoType parameters and possible values returned to the UserVarPtr parameter.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
InfoType | |||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the event that called the hook-handler function was due to the 2D graphics list being modified, either by a MIL function or by interactive manipulations. (summarize)Specifies that the event that called the hook-handler function was due to the 2D graphics list being modified, either by a MIL function or by interactive manipulations. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the MIL identifier of the 2D graphics list that triggered the event. (summarize)Retrieves the MIL identifier of the 2D graphics list that triggered the event. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_ID
Data type info: Data
type: address of a MIL_ID
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the event that called the hook-handler function was due to a graphic in the 2D graphics list being modified, either by a MIL function or by interactive manipulations. If a graphic's selection (MgraControlList() with M_GRAPHIC_SELECTED) is changed either programmatically or interactively, this event will not be triggered; the M_GRAPHIC_SELECTION_MODIFIED event will be triggered instead. (summarize)Specifies that the event that called the hook-handler function was due to a graphic in the 2D graphics list being modified, either by a MIL function or by interactive manipulations. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the type of modification made to the graphics in the list that triggered the event. (summarize)Inquires the type of modification made to the graphics in the list that triggered the event. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_INT64
Data type info: Data
type: address of a
MIL_INT64
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the angle of the graphic was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the angle at which to stop drawing the arc was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the angular value used as a multiple when rotating the graphic was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the angle at which to start drawing the arc was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a uniform scaling operation was performed on the graphic. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether to draw an arc or a sector was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the background color of the text was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether to fill the text's background was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the foreground color of the graphic was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether to force the width and height of a graphic to be equal was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that one of the following has been called on the 2D graphics list, resulting in some graphics being removed from the 2D graphics list: MgraControlList() with M_DELETE, MgraClear(), or when MgraCopy() with M_MOVE deletes graphics from a source 2D graphics list. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of how an arrow, pointing in the direction with which a graphic was defined is rendered (drawn), was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the offset to subtract from the source X-coordinates before rendering the graphic was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the offset to subtract from the source Y-coordinates before rendering the graphic was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the scaling factor in the X-direction was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the scaling factor in the Y-direction was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether MIL allows the easy selection of graphics on the display was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether a graphic can be edited, via user interaction in an interactive display, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether to fill the graphic was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the camera calibration information used when rendering (drawing or displaying) a graphic that has been defined in world units (M_INPUT_UNITS set to M_WORLD) was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the font of the characters in the text was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether MIL should search for a suitable font to draw the text, if the currently selected font (M_FONT) is a TrueType font that does not support the character code, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the font size, when using a TrueType font, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the font's horizontal scaling factor was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the font's vertical scaling factor was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that how the shape of a graphic, defined in world units, is converted to pixels (rendered), was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a new graphic has been added to the 2D graphics list, either using a MIL function or through interactive manipulations. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that interactive manipulations, such as translating, rotating, and resizing, have changed the properties of a graphic in the 2D graphics list. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the identifier of the camera calibration information, used to interpret positioning and dimensioning information of a graphic defined in world units, was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the unit with which to interpret the graphic's positional and dimensional information, for graphics already added to the 2D graphics list, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the color of the selection box and handles in interactive mode was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when resizing the graphic using its selection box, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when resizing the graphic using its selection box and pressing the Alt key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when resizing the graphic using its selection box and pressing the Ctrl key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether to establish the graphic's secondary dimension, when defining the graphic interactively on the display, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether to establish the graphic's secondary dimension, when defining the graphic interactively on the display and pressing the Alt key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether to establish the graphic's secondary dimension, when defining the graphic interactively on the display and pressing the Ctrl key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether to establish the graphic's secondary dimension, when defining the graphic interactively on the display and pressing the Shift key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when resizing the graphic using its selection box and pressing the Shift key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when rotating the graphic using its selection box, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when rotating the graphic using its selection box and pressing the Alt key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when rotating the graphic using its selection box and pressing the Ctrl key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when rotating the graphic using its selection box and pressing the Shift key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when moving (translating) the graphic using its selection box, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when moving (translating) the graphic using its selection box and pressing the Alt key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when moving (translating) the graphic using its selection box and pressing the Ctrl key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the interactive behavior, when moving (translating) the graphic using its selection box and pressing the Shift key, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a call to MgraCopy(), with an in-place move (M_MOVE) operation, changed the order of the graphics inside the 2D graphics list. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether to permit interactive multiple selection using the Ctrl key was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the keyboard key that you can press to select multiple graphics with your mouse on the display was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that how M_POSITION_X and M_POSITION_Y are interpreted for a rectangle was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the X-position of a graphic, or of one of its sub-elements (position-points), was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the Y-position of a graphic, or of one of its sub-elements (position-points), was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the radius of the arc in the X-direction was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the radius of the arc in the Y-direction was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the height of the rectangle was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the width of the rectangle was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether a graphic can be resized, via user interaction in an interactive display, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic's height was increased or decreased. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the graphic's width was increased or decreased. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether a graphic can be rotated, via user interaction in an interactive display, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a rotation operation was performed on the graphic, or one of its sub-elements. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether a graphic can be selected, via user interaction in an interactive display, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the color of the selected graphics in interactive mode was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the size of the selection-radius in interactive mode was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether a graphic can be modified, using handles that are specific to its graphic type via user interaction in an interactive display, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the horizontal alignment of the text was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the vertical alignment of the text was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the border drawn around the text was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the direction to draw the text, when using a TrueType font, was modified. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether a graphic can be translated (moved), via user interaction in an interactive display, was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a horizontal translation of a graphic, or of one of its sub-elements, was performed. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a vertical translation of a graphic, or of one of its sub-elements, was performed. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the option of whether a graphic is rendered on the display was modified. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the label of the modified graphic that triggered the event. (summarize)Retrieves the label of the modified graphic that triggered the event. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that all graphics in the 2D graphics list were modified using MgraClear() or MgraControlList() with M_ALL. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that all selected graphics in the 2D graphics list were modified using MgraControlList() with M_ALL_SELECTED. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a 2D graphics list's setting was modified using MgraControlList() with M_LIST. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that more than one graphic was modified. This can happen when calling MgraCopy() and with interactive manipulations (for example, translating many graphics). (summarize)Specifies that more than one graphic was modified. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the label of the graphic. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the MIL identifier of the 2D graphics list containing the graphic that triggered the event. (summarize)Retrieves the MIL identifier of the 2D graphics list containing the graphic that triggered the event. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_ID
Data type info:
Data type: address of a
MIL_ID
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the index of the sub-element of the graphic that triggered the event. (summarize)Retrieves the index of the sub-element of the graphic that triggered the event. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the event affected the whole graphic. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the index of the sub-element of the graphic that triggered the event. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies that the event that called the hook-handler function was due to a graphic being selected or deselected. (summarize)Specifies that the event that called the hook-handler function was due to a graphic being selected or deselected. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the label of the graphic that triggered the event. (summarize)Retrieves the label of the graphic that triggered the event. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that more than one graphic was selected. This can happen when calling MgraControlList() with M_GRAPHIC_SELECTED and with interactive manipulations (for example, Ctrl-clicking many graphics). (summarize)Specifies that more than one graphic was selected. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a deselection triggered the event and no graphic was selected. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the label of the graphic that was selected. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the label of the graphic that was deselected when the event was triggered. (summarize)Retrieves the label of the graphic that was deselected when the event was triggered. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that more than one graphic was deselected. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that no graphic was deselected. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the label of the graphic that was deselected. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the MIL identifier of the 2D graphics list containing the graphic that triggered the event. (summarize)Retrieves the MIL identifier of the 2D graphics list containing the graphic that triggered the event. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_ID
Data type info:
Data type: address of a
MIL_ID
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ID + |
Specifies that the event that called the hook-handler function was due to the 2D graphics list's interactive state being modified, either by a MIL function or by interactive manipulations. (summarize)Specifies that the event that called the hook-handler function was due to the 2D graphics list's interactive state being modified, either by a MIL function or by interactive manipulations. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the label of the graphic that triggered the event. For example, it can return the label of the graphic being dragged when the state of interactivity (M_INTERACTIVE_GRAPHIC_STATE) is M_STATE_GRAPHIC_DRAGGED. (summarize)Retrieves the label of the graphic that triggered the event. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a MIL function triggered the event. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the label of the graphic that triggered the event. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the MIL identifier of the 2D graphics list that triggered the event. (summarize)Retrieves the MIL identifier of the 2D graphics list that triggered the event. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_ID
Data type info:
Data type: address of a
MIL_ID
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the state of interactivity of the 2D graphics list before the event occurred. This always returns a different value than M_INTERACTIVE_GRAPHIC_STATE. (summarize)Inquires the state of interactivity of the 2D graphics list before the event occurred. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a new graphic was being created. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a graphic was being dragged using the mouse. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the cursor was hovering over a graphic. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a graphic's handle was being dragged using the mouse. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the cursor was hovering over a graphic's handle. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the cursor was not hovering over anything and that no graphic was queued for creation. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a graphic was queued for creation. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the current state of interactivity of the 2D graphics list. (summarize)Inquires the current state of interactivity of the 2D graphics list. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a new graphic is being created. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a graphic is being dragged using the mouse. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the cursor is currently hovering over a graphic. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a graphic's handle is being dragged using the mouse. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the cursor is currently hovering over a graphic's handle. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the cursor is not hovering over anything and that no graphic is queued for creation. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a graphic is queued for creation. |
The following value might be combined with the above-mentioned value to specify that a rectangle's location in the image will not change, regardless of how MIL interprets its reference position.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that, when you set M_POSITION_TYPE, MIL also adjusts the rectangle's actual position in the image so it remains at the same location. |
You can add one of the following values to the above-mentioned values to cast the requested information to a required data type.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
InfoType | |||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_DOUBLE. (summarize)Casts the requested information to a MIL_DOUBLE. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_ID. Note that M_TYPE_MIL_ID should only be used with M_GRAPHIC_LIST_ID. (summarize)Casts the requested information to a MIL_ID. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_ID
Data type info:
Data type: address of a
MIL_ID
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_INT. (summarize)Casts the requested information to a MIL_INT. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_INT32. (summarize)Casts the requested information to a MIL_INT32. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT32
Data type info:
Data type: address of a
MIL_INT32
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_INT64. (summarize)Casts the requested information to a MIL_INT64. (more details...) |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT64
Data type info:
Data type: address of a
MIL_INT64
|
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |