Issues about the console

Just starting out? Need help? Post your questions and find answers here.
weavemeter
New User
New User
Posts: 2
Joined: Wed Dec 27, 2023 8:00 am

Issues about the console

Post 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)?
Last edited by weavemeter on Wed Dec 27, 2023 10:58 am, edited 2 times in total.
infratec
Always Here
Always Here
Posts: 7664
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Issues about the console

Post 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.
weavemeter
New User
New User
Posts: 2
Joined: Wed Dec 27, 2023 8:00 am

Re: Issues about the console

Post 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!
Post Reply