Results 1 to 4 of 4

Thread: Problem with winEvent

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    694
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem with winEvent

    Quote Originally Posted by alexisdm View Post
    Shouldn't you test if it is actually a uEye message ?
    Qt Code:
    1. bool CameraView::winEvent(MSG *m, long* result)
    2. {
    3. uint msgType = m->message;
    4.  
    5. if (msgType != IS_UEYE_MESSAGE)
    6. return false; // Let Qt handle other messages
    7.  
    8. switch ( m->wParam )
    9. {
    10. ...
    11. }
    12. return true;
    13. }
    To copy to clipboard, switch view to plain text mode 
    It worked.
    Thank you
    Franco Amato

  2. #2
    Join Date
    Jan 2016
    Posts
    2
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Problem with winEvent

    Hello,

    i'm new at using uEye in Qt. Can you show your entire cpp please?

Similar Threads

  1. winEvent---(MSG * message, long * result)
    By Naveen in forum Qt Programming
    Replies: 4
    Last Post: 29th June 2015, 11:05
  2. winEvent prevents opening menus...
    By supergillis in forum Qt Programming
    Replies: 0
    Last Post: 16th November 2008, 16:48
  3. Win32 MSG - winEvent()
    By AlGaN in forum Qt Programming
    Replies: 1
    Last Post: 24th September 2008, 14:19
  4. Replies: 1
    Last Post: 4th February 2008, 11:12
  5. MSG not defined (winEvent)
    By December in forum Qt Programming
    Replies: 6
    Last Post: 19th February 2007, 16:24

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.