alex / alex/what-happens-when

SendMessage is described incorrectly

Aperta
#288 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
43.3k
Fork
5.7k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

> 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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.