Originally Posted by alexisdm Shouldn't you test if it is actually a uEye message ? Qt Code: Switch view bool CameraView::winEvent(MSG *m, long* result){ uint msgType = m->message; if (msgType != IS_UEYE_MESSAGE) return false; // Let Qt handle other messages switch ( m->wParam ) { ... } return true;} bool CameraView::winEvent(MSG *m, long* result) { uint msgType = m->message; if (msgType != IS_UEYE_MESSAGE) return false; // Let Qt handle other messages switch ( m->wParam ) { ... } return true; } To copy to clipboard, switch view to plain text mode It worked. Thank you
bool CameraView::winEvent(MSG *m, long* result){ uint msgType = m->message; if (msgType != IS_UEYE_MESSAGE) return false; // Let Qt handle other messages switch ( m->wParam ) { ... } return true;}
bool CameraView::winEvent(MSG *m, long* result) { uint msgType = m->message; if (msgType != IS_UEYE_MESSAGE) return false; // Let Qt handle other messages switch ( m->wParam ) { ... } return true; }
Franco Amato
Forum Rules
Bookmarks