Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Console WinEvents

The following event constants are used in the event parameter of the WinEventProc callback function. For more information, see WinEvents.

Constant/valueDescription
EVENT_CONSOLE_CARET
0x4001

The console caret has moved. The idObject parameter is one or more of the following values: CONSOLE_CARET_SELECTION or CONSOLE_CARET_VISIBLE.

The idChild parameter is a COORD structure that specifies the cursor's current position.

EVENT_CONSOLE_END_APPLICATION
0x4007

A console process has exited. The idObject parameter contains the process identifier of the terminated process.

EVENT_CONSOLE_LAYOUT
0x4005

The console layout has changed.

EVENT_CONSOLE_START_APPLICATION
0x4006

A new console process has started. The idObject parameter contains the process identifier of the newly created process. If the application is a 16-bit application, the idChild parameter is CONSOLE_APPLICATION_16BIT and idObject is the process identifier of the NTVDM session associated with the console.

EVENT_CONSOLE_UPDATE_REGION
0x4002

More than one character has changed. The idObject parameter is a COORD structure that specifies the start of the changed region. The idChild parameter is a COORD structure that specifies the end of the changed region.

EVENT_CONSOLE_UPDATE_SCROLL
0x4004

The console has scrolled. The idObject parameter is the horizontal distance the console has scrolled. The idChild parameter is the vertical distance the console has scrolled.

EVENT_CONSOLE_UPDATE_SIMPLE
0x4003

A single character has changed. The idObject parameter is a COORD structure that specifies the character that has changed. The idChild parameter specifies the character in the low word and the character attributes in the high word.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.