GR_ERROR

Name

GR_ERROR -- Error event codes

Description

A GR_ERROR enumeration type identifies the type of error that caused a GR_EVENT_TYPE_ERROR event. When a window receives an error event, the associated GR_EVENT_ERROR structure contains a field of this type that specifies the error.

The following table shows all of the available enumeration values that can be assigned to a GR_ERROR variable.

FlagDescription
GR_ERROR_BAD_WINDOW_ID 
GR_ERROR_BAD_GC_ID 
GR_ERROR_BAD_CURSOR_SIZE 
GR_ERROR_MALLOC_FAILED 
GR_ERROR_BAD_WINDOW_SIZE 
GR_ERROR_KEYBOARD_ERROR 
GR_ERROR_MOUSE_ERROR 
GR_ERROR_INPUT_ONLY_WINDOW 
GR_ERROR_ILLEGAL_ON_ROOT_WINDOW 
GR_ERROR_TOO_MUCH_CLIPPING 
GR_ERROR_SCREEN_ERROR 
GR_ERROR_UNMAPPED_FOCUS_WINDOW 
GR_ERROR_BAD_DRAWING_MODE