11-20-2015 01:52 AM
Hi all!
I'm pretty sure it's a little stupid thing, but I didn't found out:
I'm looking for some ugly bugs in my app. To get some information while running the app in release mode, I build it as a console app and write debug infos to the console window. So far, so good. My problem is now, if I bring any other app to front by clicking on the task bar, the panel of my app goes to the background, and I can't bring it to the foreground again, because clicking the task bar icon brings only the console window to front. The panel stays in the background.
So, how can I bring the panel to front by clicking the task bar icon?
Best,
Thomas
11-20-2015 03:46 AM
Don't use console, it has nasty effects in the global Windows user interface. Write to a file instead. It's also easier to redirect, analyze, etc. I usually write errors to stderr, and use an freopen to redirect it somewhere to a file.