windows Event에 따른 응용프로그램 동작방식

1.키보드나 마우스를 작동하면 Hardware Event가 발생한다.

2.시스템은 이것을 감지해, 해당 움직임을 메세지로 표현하여,System Message Queue로 가져온다.

3.System Message Queue에서 각 Application Message Queue로 나뉘어 들어가게 된다.

4.App. Message Queue에서 메세지를 처리하는 Message Loop로 들어가게 되고, 실질적으로 메세지들을 처리하는 Window Procedure로 들어가게 된다.
Window Procedure에서 처리 하지 않은 메세지들은 Default Window Procedure에서 처리된다.

관련항목 : Event Driven 방식,Message Driven 방식

댓글

이 블로그의 인기 게시물

[Win32 API] WINAPI - 함수호출규약

JAVA Frame Icon setting

JAVA Spinner