Click here to Skip to main content
15,908,274 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to extract all text in current command prompt window Pin
kflrei20-May-06 23:08
kflrei20-May-06 23:08 
QuestionFlat Scrollbars Pin
Sarath C18-May-06 1:17
Sarath C18-May-06 1:17 
AnswerRe: Flat Scrollbars Pin
Laxman Auti18-May-06 1:36
Laxman Auti18-May-06 1:36 
GeneralRe: Flat Scrollbars Pin
Sarath C18-May-06 1:41
Sarath C18-May-06 1:41 
GeneralRe: Flat Scrollbars Pin
Laxman Auti18-May-06 2:08
Laxman Auti18-May-06 2:08 
QuestionStart console application in background Pin
GDavy18-May-06 1:15
GDavy18-May-06 1:15 
AnswerRe: Start console application in background Pin
Laxman Auti18-May-06 1:33
Laxman Auti18-May-06 1:33 
AnswerRe: Start console application in background Pin
Rage18-May-06 1:36
professionalRage18-May-06 1:36 
Yes, SheelExecute prototype is:

HINSTANCE ShellExecute(
    HWND hwnd, 
    LPCTSTR lpOperation,
    LPCTSTR lpFile, 
    LPCTSTR lpParameters, 
    LPCTSTR lpDirectory,
    INT nShowCmd
);

and the last aprameter can take following values:

SW_HIDE  Hides the window and activates another window. 
SW_MAXIMIZE  Maximizes the specified window. 
SW_MINIMIZE  Minimizes the specified window and activates the next top-level window in the z-order. 
SW_RESTORE  Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when restoring a minimized window. 
SW_SHOW  Activates the window and displays it in its current size and position.  
SW_SHOWDEFAULT  Sets the show state based on the SW_ flag specified in theSTARTUPINFO structure passed to theCreateProcess function by the program that started the application. An application should callShowWindow with this flag to set the initial show state of its main window. 
SW_SHOWMAXIMIZED  Activates the window and displays it as a maximized window. 
SW_SHOWMINIMIZED  Activates the window and displays it as a minimized window. 
SW_SHOWMINNOACTIVE  Displays the window as a minimized window. The active window remains active. 
SW_SHOWNA  Displays the window in its current state. The active window remains active. 
SW_SHOWNOACTIVATE  Displays a window in its most recent size and position. The active window remains active. 
SW_SHOWNORMAL  Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when displaying the window for the first time 


One of these should do the trick.

~RaGE();
GeneralRe: Start console application in background Pin
GDavy18-May-06 2:01
GDavy18-May-06 2:01 
AnswerRe: Start console application in background Pin
Monty218-May-06 2:13
Monty218-May-06 2:13 
QuestionZip a file without zipping in folder Pin
zahid_ash18-May-06 1:13
zahid_ash18-May-06 1:13 
AnswerRe: Zip a file without zipping in folder Pin
ThatsAlok18-May-06 1:48
ThatsAlok18-May-06 1:48 
GeneralRe: Zip a file without zipping in folder Pin
zahid_ash18-May-06 2:05
zahid_ash18-May-06 2:05 
GeneralRe: Zip a file without zipping in folder Pin
ThatsAlok18-May-06 2:11
ThatsAlok18-May-06 2:11 
GeneralRe: Zip a file without zipping in folder Pin
zahid_ash18-May-06 2:14
zahid_ash18-May-06 2:14 
GeneralRe: Zip a file without zipping in folder Pin
ThatsAlok18-May-06 2:34
ThatsAlok18-May-06 2:34 
Questionneed loop in mfc application(urgent) Pin
makaveli_0718-May-06 1:10
makaveli_0718-May-06 1:10 
AnswerRe: need loop in mfc application(urgent) Pin
ThatsAlok18-May-06 1:48
ThatsAlok18-May-06 1:48 
QuestionUrgent :- How to save the msg in Drafs in Pocket pc. Pin
Rocky Marrone18-May-06 0:53
Rocky Marrone18-May-06 0:53 
QuestionUrgent :- how to retrieve the Contact list from WAB ? Pin
Rocky Marrone18-May-06 0:51
Rocky Marrone18-May-06 0:51 
QuestionDynamic loading Dll Pin
bujji_bec18-May-06 0:38
bujji_bec18-May-06 0:38 
AnswerRe: Dynamic loading Dll Pin
velayudhan_raj18-May-06 0:51
velayudhan_raj18-May-06 0:51 
AnswerRe: Dynamic loading Dll Pin
Hamid_RT18-May-06 0:54
Hamid_RT18-May-06 0:54 
AnswerRe: Dynamic loading Dll Pin
Hamid_RT18-May-06 1:00
Hamid_RT18-May-06 1:00 
AnswerRe: Dynamic loading Dll Pin
Laxman Auti18-May-06 1:11
Laxman Auti18-May-06 1:11 

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.