Please give me help.
-
I write a program which used database and use Multi View in splitter window, when I switch the view,I must check if the database is empty first.If so, how can I show a message,such as the database is empty ..
-
I write a program which used database and use Multi View in splitter window, when I switch the view,I must check if the database is empty first.If so, how can I show a message,such as the database is empty ..
How about .... AfxMessageBox("The Database is empty"); Some how, I don't think this is the answer you want, but thats how I read it
-
How about .... AfxMessageBox("The Database is empty"); Some how, I don't think this is the answer you want, but thats how I read it
When should I show this message when I switch the view?
-
When should I show this message when I switch the view?
What about showing it when the view gets the focus ? Or better showing it directly in the view. And disabeling any edit buttons handled by the view. In general ist much better to disable operations not possible at the moment, instead of popping up message boxes all over the app. The user hates to click them away and doesn't read the text in the message box (Most usrers I know of)