|
-
May 20th, 1999, 10:38 AM
#1
PreTranslateMessage
Hi,
I´m having some trouble getting the preTranslateMessage funktion to work while playing a movie using Dshow.
this is what I call, but it wont react at all. My guess is because it has rendered the file and doesn´t let any other messages pass throug. But how do I solve this. I want to be able to close the playing window with the esc-button.
this is my preTranslateMessage function.
if (pMsg->message == WM_KEYDOWN)
if (pMsg->wParam == VK_ESCAPE)
PostMessage(WM_CLOSE);
please help
Regards Frederik.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|