alex / alex/what-happens-when

SendMessage is described incorrectly

Aberta
#288 3 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Sem dados de linguagem
Estrelas
43.3k
Forks
5.7k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

> The Windows SendMessage API is a straightforward function that adds the message to a queue for the particular window handle (hWnd).

This is incorrect - SendMessage is synchronous and does not post to the message queue - rather it calls the Window procedure of window handle directly
The function that queues messages is called PostMessage.

I am also doubtful of the fact that the messages are sent/queued using these public API calls - both SendMessage and PostMessage are meant to be used by the programmer and might not be the way Windows does it internally.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.