Click here to Skip to main content
15,916,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGUID's how importatnt are they? Pin
BlackDice23-Oct-04 3:38
BlackDice23-Oct-04 3:38 
AnswerRe: GUID's how importatnt are they? Pin
Leyu23-Oct-04 8:10
Leyu23-Oct-04 8:10 
AnswerRe: GUID's how importatnt are they? Pin
Blake Miller25-Oct-04 5:29
Blake Miller25-Oct-04 5:29 
GeneralRe: GUID's how importatnt are they? Pin
BlackDice25-Oct-04 11:52
BlackDice25-Oct-04 11:52 
Generalputting a dialog into a picture box control (or static text control) Pin
BlackDice23-Oct-04 3:35
BlackDice23-Oct-04 3:35 
GeneralRe: putting a dialog into a picture box control (or static text control) Pin
Maximilien23-Oct-04 3:50
Maximilien23-Oct-04 3:50 
GeneralRe: putting a dialog into a picture box control (or static text control) Pin
BlackDice23-Oct-04 4:38
BlackDice23-Oct-04 4:38 
Generalcreate a process whitout any window Pin
unidavide23-Oct-04 2:56
unidavide23-Oct-04 2:56 
how can I create a process and deny it to show any window?
For the first window I can set the flag in the startupinfo but for all the other windows that a process can create how can I hide or destroy them?
here a little example

ZeroMemory(&startupInfo,sizeof(STARTUPINFO));
startupInfo.cb = sizeof(STARTUPINFO);
startupInfo.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
startupInfo.wShowWindow = SW_HIDE;
startupInfo.hStdOutput = NULL;
startupInfo.hStdInput = NULL;
startupInfo.hStdError = NULL;
success = CreateProcess ("c:\\windows\\notepad.exe", "notepad.exe aaa", NULL, NULL, TRUE, CREATE_NO_WINDOW, NULL, NULL, &startupInfo, procInfo);

if (!success){
printf("error");
exit();
}

in this example notepad start successfully, the main window isn't showed but the messagge box appear, I want to hide this messaggebox and every other "window" or message that a generic process can create on the screen, how can I do this?

GeneralMFC loading form Pin
missnazar23-Oct-04 2:46
missnazar23-Oct-04 2:46 
GeneralRe: MFC loading form Pin
agentnem23-Oct-04 20:24
agentnem23-Oct-04 20:24 
GeneralGCC Compiler for ARM Pin
Abbas_Riazi23-Oct-04 2:35
professionalAbbas_Riazi23-Oct-04 2:35 
GeneralRe: GCC Compiler for ARM Pin
Henry miller25-Oct-04 3:28
Henry miller25-Oct-04 3:28 
GeneralCWebBrowser2.Navigate Pin
includeh1023-Oct-04 2:25
includeh1023-Oct-04 2:25 
GeneralEvent for window painting completion Pin
BeerFizz23-Oct-04 0:58
BeerFizz23-Oct-04 0:58 
GeneralRe: Event for window painting completion Pin
Jerry Evans23-Oct-04 2:30
Jerry Evans23-Oct-04 2:30 
GeneralRe: Event for window painting completion Pin
Blake Miller25-Oct-04 5:31
Blake Miller25-Oct-04 5:31 
GeneralDIRECTSHOW with IFilterChain Pin
madretierra23-Oct-04 0:01
madretierra23-Oct-04 0:01 
Generalh323 protocol implementation Pin
siddiqi22-Oct-04 22:43
siddiqi22-Oct-04 22:43 
QuestionOpen HTML in CHM? Pin
Dominik Reichl22-Oct-04 22:01
Dominik Reichl22-Oct-04 22:01 
QuestionHow to open file dbf ? Pin
tranvuminh22-Oct-04 21:01
tranvuminh22-Oct-04 21:01 
AnswerRe: How to open file dbf ? Pin
YoSilver22-Oct-04 21:21
YoSilver22-Oct-04 21:21 
AnswerRe: How to open file dbf ? Pin
BlackDice23-Oct-04 3:22
BlackDice23-Oct-04 3:22 
GeneralMFC enlisting local drives Pin
missnazar22-Oct-04 20:07
missnazar22-Oct-04 20:07 
GeneralRe: MFC enlisting local drives Pin
ThatsAlok24-Oct-04 22:53
ThatsAlok24-Oct-04 22:53 
GeneralRe: MFC enlisting local drives Pin
missnazar25-Oct-04 0:38
missnazar25-Oct-04 0:38 

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.