Window Messages
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hello, is it possible to create Window Messages at runtime? I use RegisterWindowMessage and i want to decide later, on what method i want to set the messages thanks in advance, joern
I'm not entirely sure what you mean...you have a message id returned from RegisterWindowMessage, and you want to determine at run-time which method you want to call? The easiest way would be to trap the message in PreTranslateMessage(), and send it on from there. Or you could simple send the message on from the function you originally designated to trap your message. Or have I misunderstood your question? Walter Gildersleeve Freiburg, Germany walter.gildersleeve@pe-gmbh.de