Herzlich Willkommen, lieber Gast!
  Sie befinden sich hier:

  Forum » C / C++ (WinAPI, Konsole) » Größe der Konsole ermittel

Forum | Hilfe | Team | Links | Impressum | > Suche < | Mitglieder | Registrieren | Einloggen
  Quicklinks: MSDN-Online || STL || clib Reference Grundlagen || Literatur || E-Books || Zubehör || > F.A.Q. < || Downloads   

Autor Thread - Seiten: > 1 <
000
21.08.2005, 11:04 Uhr
RedEagle



hi
Ich möchte die Konsole an die position 0/0 setzen:

C++:
  HWND conwnd;
  conwnd = FindWindow(NULL, title);
  MoveWindow(conwnd, 0, 0, /*??*/, /*??*/, false);


1.: Geht das so??
2.: Wenn ja, wie bekomme ich die Höhe und die Breite der Konsole??
--
MFG RedEagle
 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
001
22.08.2005, 10:22 Uhr
Airdamn




C++:
HWND conwnd;
conwnd = FindWindow( NULL, title );
RECT rc;
GetWindowRect( conwnd, &rc );
MoveWindow( conwnd, 0, 0, rc.right - rc.left, rc.bottom - rc.top, false );

 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
002
22.08.2005, 10:29 Uhr
RedEagle




--
MFG RedEagle
 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
Seiten: > 1 <     [ C / C++ (WinAPI, Konsole) ]  


ThWBoard 2.73 FloSoft-Edition
© by Paul Baecher & Felix Gonschorek (www.thwboard.de)

Anpassungen des Forums
© by Flo-Soft (www.flo-soft.de)

Sie sind Besucher: