2014-01-16 2 views

Antwort

-1

Sie können für einen echten Konsolenfenster suchen, die Sie mit system oder CreateProcess über diese Code-Schnipsel starten:

HWND hCmd = ::FindWindow(_T("ConsoleWindowClass"), _T("aa")); // "aa" is the name/title of the window 
if (hCmd != NULL) { 
    // Set new parent 
    // hParent is the handle to the new parent window (a dockable window) 
    ::SetParent(hCmd, hParent); 
    // TODO: set child's window style to your liking... 
} 
0

Nun gibt es Open Command Line als VS-Erweiterung, aber leider ist es nicht die Eingabeaufforderung anzudocken, also ist es nur halbwegs für dich da.