Page 1 of 1

Issues about the console

Posted: Wed Dec 27, 2023 8:05 am
by weavemeter
Hi everyone,

1. Is it possible to detect a console window resizing event? When the user resizes the window, I'd want to resize the content of my console basket random
2. You can move the cursor using ConsoleLocate(), but how do you retrieve the cursor's current position? (This might be difficult to estimate if the window is enlarged)
3. Is it feasible to find out how many characters may be drawn in a row (and in a column)?

Re: Issues about the console

Posted: Wed Dec 27, 2023 10:25 am
by infratec
Everything about your questions is already answered here in the forum.
You only need to find it. :wink:

https://www.purebasic.fr/english/viewto ... 71#p544671

https://www.purebasic.fr/english/viewtopic.php?t=75649

But since there are native API functions involved, you need a full version of PB.

Re: Issues about the console

Posted: Wed Dec 27, 2023 10:58 am
by weavemeter
infratec wrote: Wed Dec 27, 2023 10:25 am Everything about your questions is already answered here in the forum.
You only need to find it. :wink:

https://www.purebasic.fr/english/viewto ... 71#p544671

https://www.purebasic.fr/english/viewtopic.php?t=75649

But since there are native API functions involved, you need a full version of PB.
Many thanks for your supports!