Click here to Skip to main content
15,915,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWndows application with buttons and controls Pin
LCI2-Jun-06 4:47
LCI2-Jun-06 4:47 
QuestionRe: Wndows application with buttons and controls Pin
David Crow2-Jun-06 5:12
David Crow2-Jun-06 5:12 
AnswerRe: Wndows application with buttons and controls Pin
LCI2-Jun-06 5:25
LCI2-Jun-06 5:25 
GeneralRe: Wndows application with buttons and controls Pin
David Crow2-Jun-06 5:31
David Crow2-Jun-06 5:31 
QuestionDialog events not showing Pin
ldaoust2-Jun-06 3:48
ldaoust2-Jun-06 3:48 
AnswerRe: Dialog events not showing Pin
Viorel.2-Jun-06 4:39
Viorel.2-Jun-06 4:39 
GeneralRe: Dialog events not showing Pin
ldaoust2-Jun-06 6:27
ldaoust2-Jun-06 6:27 
AnswerRe: Dialog events not showing (problem solved) [modified] Pin
ldaoust11-Jul-06 3:52
ldaoust11-Jul-06 3:52 
QuestionStatic registry for classfactory handles Pin
rana742-Jun-06 2:20
rana742-Jun-06 2:20 
QuestionForeground process Pin
KKumarTG2-Jun-06 2:20
KKumarTG2-Jun-06 2:20 
AnswerRe: Foreground process Pin
Ștefan-Mihai MOGA2-Jun-06 2:26
professionalȘtefan-Mihai MOGA2-Jun-06 2:26 
QuestionRe: Foreground process Pin
David Crow2-Jun-06 3:18
David Crow2-Jun-06 3:18 
AnswerRe: Foreground process Pin
Sebastian Schneider2-Jun-06 3:23
Sebastian Schneider2-Jun-06 3:23 
GeneralRe: Foreground process Pin
David Crow2-Jun-06 3:31
David Crow2-Jun-06 3:31 
GeneralRe: Foreground process Pin
KKumarTG2-Jun-06 3:49
KKumarTG2-Jun-06 3:49 
GeneralRe: Foreground process Pin
David Crow2-Jun-06 4:21
David Crow2-Jun-06 4:21 
GeneralRe: Foreground process Pin
KKumarTG2-Jun-06 5:23
KKumarTG2-Jun-06 5:23 
QuestionRe: Foreground process Pin
David Crow2-Jun-06 8:04
David Crow2-Jun-06 8:04 
AnswerRe: Foreground process Pin
James R. Twine2-Jun-06 4:44
James R. Twine2-Jun-06 4:44 
GeneralRe: Foreground process [modified] Pin
Nemanja Trifunovic2-Jun-06 4:52
Nemanja Trifunovic2-Jun-06 4:52 
GeneralRe: Foreground process Pin
Sebastian Schneider2-Jun-06 5:01
Sebastian Schneider2-Jun-06 5:01 
GeneralRe: Foreground process Pin
Zac Howland2-Jun-06 5:25
Zac Howland2-Jun-06 5:25 
There are subtle differences between an application that does not have the focus in Windows (which you are equating to "background") and actually backgrounding an application in a *nix system.

In Windows, you cannot pause an application that was started on the command line and then tell it to resume in the background (that is, without control of stdout). On top of that, you cannot tell the very same application that you want to have it resume control of the console (stdout).

Effectively, all processes in Windows are background applications. That is, when you double click their icon to start them up, they don't have a stdout. When you do start an app from the command line (assuming it is a GUI), it doesn't have a stdout by default (though, you can jump through some hoops to give it one).

The concept of "foreground" is different in Windows as well. The foreground application in Windows is whatever application has the current focus. This isn't the case in *nix systems, where you can have as many foreground applications as you have consoles open for.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac
GeneralRe: Foreground process Pin
Sebastian Schneider2-Jun-06 7:46
Sebastian Schneider2-Jun-06 7:46 
GeneralRe: Foreground process Pin
Zac Howland2-Jun-06 8:02
Zac Howland2-Jun-06 8:02 
GeneralRe: Foreground process Pin
Sebastian Schneider2-Jun-06 8:27
Sebastian Schneider2-Jun-06 8:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.