Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

The Doszip Commander version 2.50 available (Announce)

posted by nidud E-mail, Norway, 02.10.2013, 10:33

The metric changes by using these functions
However, the window do not change or move

GetLargestConsoleWindowSize:
- in text mode 80x25 the maximum size returned is 80x49
- in a 80x25 window the maximum size returned is 96x34

SetConsoleWindowInfo:
- this functions do as it says: it sets the window info
- but the only visible change is added scroll-bars in a window

Solution:
- do "MODE CON COLS=%d LINES=%d" with values from GetLargestConsoleWindowSize
- this works in both text-mode and in a window

problem solved :-D

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 426 users online (0 registered, 426 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum