WIndows Message Queue
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: WIndows Message Queue

  1. #1
    Guest

    WIndows Message Queue

    Introducing a delay (Sleep )in default procedure, would cause any loss of messages?

    Thanks in advance,


  2. #2
    Join Date
    May 1999
    Location
    West Sussex, England
    Posts
    1,939

    Re: WIndows Message Queue

    No it wouldn't. The only issue is that if you did the call to Sleep() in the user insterface thread, then the whole interface would stop runinng until the Sleep(0 completed and the procedure it was in returned.


    Roger Allen
    ICQ - 31764540
    Hey I like ratings! If it helps rate me! If it doesn't -ve ratings are not wanted! hehe!
    Please use meaningful question titles - "Help me" does not let me know whether I can help with your question, and I am unlikely to bother reading it.
    Please remember to rate useful answers. It lets us know when a question has been answered.

  3. #3
    Guest

    Re: WIndows Message Queue

    It is like this.

    I over-ride RbuttonDown message and intrduce a sleep and or a big while loop. If I click on LButton of mouse many times, i dont receive all messages.

    Are u getting it? THis holds good in introducing delay in DefWindowProc or in Pretranslate Message.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center