Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Konsolenfenster vergößern

Empfohlene Antworten

Veröffentlicht

hallo leude,

mich würde einmal interessieren, ob ich die möglichkeit habe in einer konsolenanwendung die größe meiner konsole zu ändern. btw die position festzulegen wäre auch nicht schlecht.

  • 3 Jahre später...

hallo maddin,

mit folgendem code lässt sich die grösse und die position deines fensters ändern:


HWND hwnd;

hwnd=FindWindow("ConsoleWindowClass", NULL);

MoveWindow(hwnd, 0, 0, 100, 100, TRUE); //Konsole ist 100x100 pixel gross und erscheint bei 0, 0 auf dem desktop!

cu

DarkEagle

Dazu muss aber windows.h includiert werden...

Kleines Anwendungsbeispiel:


#include <windows.h>

#include <iostream>

using namespace std;



int main()

{

HWND hwnd;

hwnd=FindWindow("ConsoleWindowClass", NULL);

MoveWindow(hwnd, 0, 0, 100, 100, TRUE); 

cout<<"Hallo!";

cin.get();

} 

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.