What do you mean, "visible to a progressbar"? Are you interacting with this process somehow to track its progress and display it in a progress bar? If so, then if its performance is less when doing...
Sorry, I've spent my whole career on Windows and Microsoft technologies. At this point, I don't think I'm smart enough to try to learn all the ins and outs of Unix. A man's got to know his...
MDI means Multiple Document Interface. In your case, you are acting on a single file, but with mutiple views. MDI would be appropriate if you want to display and work on multiple files at once.
Do you mean minimized, so only the taskbar icon is showing? Or do you mean the window that shows up when you hover over the task bar icon? Or something else?
If you started out with the drop shadow, what did you do to make it go away? Perhaps you removed it when you changed the code that caused the full namespace to change?
The gist of this approach is:
1. Use TCHAR string forms throughout the app (e.g. LPCTSTR, LPTSTR, instead of char*)
2. Use the _T("") macro for hard coded string literals (e.g. _T("hard coded...
Yes. Putting up a message box is okay (because messages are still getting processed), the problem is after you block the ui thread for an extended period of time.
What many folks forget is that Windows stores it's strings as UNICODE (well, on NT based Windows, not 9x systems). So if you compile your program for ANSI, each string call made to the OS gets...
AfxMessageBox calls do take focus, so when they are dismissed the previous window will regain focus. It is puzzling about the order of when the set active messages occur, but keep in mind that you...
In the link that Victor gave, Paul describes the differences in the section where he talks about the CCtrlView. Essentially CCtrlView adds a property and a couple of methods to CView. You certainly...
The main thread doesn't need to loop to wait for a worker thread to finish other than the normal message pump type of loop. Generally, some ui controls are disabled while the worker thread is...
I would be inclined not to worry about the strange behavior and move to code up a worker thread to do the lengthy operation. If you prefer, consider using QueueUserWorkItem and have windows do the...
Put a breakpoint on the line if(temp== 1) and start debugging the site by pressing F5. Then single-step through the code and look values of the variables. Are your queries returning what you expect?