Hi i am new for QT and i need to use winEvent function but an error appear when i try build my project:
my code is :
bool MainWindow::winEvent(MSG *message, long *result)
{
//handling message...........
return 0;
}
bool MainWindow::winEvent(MSG *message, long *result)
{
//handling message...........
return 0;
}
To copy to clipboard, switch view to plain text mode
this is the error prevent building:
C:\Users\ETC\Documents\QTProjects\Calculator-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\..\Calculator\mainwindow.cpp:16: error: no 'bool MainWindow::winEvent(MSG*, long int*)' member function declared in class 'MainWindow'
C:\Users\ETC\Documents\QTProjects\Calculator-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug\..\Calculator\mainwindow.cpp:16: error: no 'bool MainWindow::winEvent(MSG*, long int*)' member function declared in class 'MainWindow'
To copy to clipboard, switch view to plain text mode
Bookmarks