Results 1 to 4 of 4

Thread: Curious behaviour of Console_SetScreenBufferSize function

  1. #1
    Member
    Join Date
    Jan 2018
    Location
    France
    Age
    72
    Posts
    74
    Rep Power
    14

    Curious behaviour of Console_SetScreenBufferSize function

    Hi,

    I encounter today a curious behaviour of Console_SetScreenBufferSize (xSize, ySise) function.

    When the row count (ySise) is 24 or less the console window is full height of the screen
    and the specified columns count ( xSize) is ignored arbitrary set to 80

    Is it a bug or a feature ?
    In the second case should be specified in help on that function

    o
    A second thing :

    After creating a console window with good columns and rows size (rows number > = 25) , when I move it on desktop using mouse drag on window title bar,
    the console window is resized 80cols x 25 rows, regardless of previous size specified in Console_SetScreenBufferSize

    Curious no ??


    Cordially

    Dany

    Note : the spelling of ySise is from help file
    Attached Files Attached Files
    Last edited by dco045; 10-12-2020 at 19:29.

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736
    Hi Dany,

    thanks a lot for the questions. I will be glad to have a peek - however, could you please share details about your operating system, for easier verification?


    Thank you,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  3. #3
    Member
    Join Date
    Jan 2018
    Location
    France
    Age
    72
    Posts
    74
    Rep Power
    14

    Curious behaviour of Console_SetScreenBufferSize function

    Quote Originally Posted by Petr Schreiber View Post
    Hi Dany,

    thanks a lot for the questions. I will be glad to have a peek - however, could you please share details about your operating system, for easier verification?


    Thank you,
    Petr
    Hi Petr,

    Included : control panel/system screenshot.

    My initial wish was to create a three lines console to monitor a data gathering program running in background all day long.

    Cordially

    Dany
    Attached Images Attached Images

  4. #4
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736
    The function is a wrapper of https://docs.microsoft.com/en-us/win...reenbuffersize.

    Yet - I understand and we will add this information to the thinBASIC documentation.


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Similar Threads

  1. Curious motion illusions
    By DirectuX in forum Shout Box Area
    Replies: 3
    Last Post: 26-09-2019, 20:31
  2. Replies: 2
    Last Post: 23-04-2018, 10:18
  3. Behaviour of TBGL_GetAsyncKeyState?
    By Michael Hartlef in forum TBGL General
    Replies: 2
    Last Post: 07-01-2017, 17:47
  4. Ordering 2D-Drawing - curious...
    By ReneMiner in forum TBGL General
    Replies: 5
    Last Post: 13-11-2012, 09:52
  5. Debugger behaviour
    By RobertoBianchi in forum thinBasic General
    Replies: 0
    Last Post: 26-09-2004, 14:40

Members who have read this thread: 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •