Page 2 of 2

Re: Alternate Console

Posted: Thu Sep 30, 2021 2:37 pm
by JHPJHP
Hi Derren,
Derren wrote:I just wanted to test your code. Sadly you offer it only on your website for a payment.
Correct, this has been in place since July 21, 2020, but for the previous 10 years it was free to download.

I haven't looked at Alternate Console for a couple years...
JHPJHP wrote:Alternate Console was probably my first attempt at creating something "useful" with PureBasic
Most of the programs I've written have been compiled to executables and can be freely downloaded from My PureBasic Stuff.
Unfortunately, Alternate Console is not currently one of them.

Is there something in particular you would like to demo, or was this just a passing interest?

NB*: I have already requested that all my downloads be moved to the Announcement forum to help avoid this type of confusion.

Re: Alternate Console

Posted: Tue Oct 05, 2021 7:39 am
by Derren
it's okay.
I am currently using a console to display some status messages and I would have liked to add the ability to hide the console like a window and unhide it via systray or something. It's not possible to hide a console with PB commands and the APIs I found don't really work either. I think you provided a command to do exactly that.
But it's easily fixable. But you know, programmers and their lazyness :D

Re: Alternate Console

Posted: Tue Oct 05, 2021 6:20 pm
by JHPJHP
Hi Derren,

Check your PM, I sent you a temporary link to the download.
JHPJHP wrote:I haven't looked at Alternate Console for a couple years...
I'm not sure it includes what your looking for, but maybe?

Re: Alternate Console

Posted: Tue Oct 05, 2021 8:31 pm
by HeX0R
Maybe this is something you could use.

Re: Alternate Console

Posted: Wed Mar 16, 2022 2:25 am
by JHPJHP
Updated:
- added SetConsoleFont (adjust console window size)
- added basic color to animation and drawing examples
- enabled DPI switch from compiler options

Animation created using Video Snipping Tool.
Image

Re: Alternate Console

Posted: Thu Jan 26, 2023 5:52 pm
by JHPJHP
Updated:
- added RGB colors
- various improvements
- fixed a registry issue

Based on this forum question, the example alt_fill_chars.pb was modified to include RGB colors; added Mode 2.

Mode 0: Change the foreground and background character color using the limited color palette (default).
Mode 1: Change the foreground character color and the background character and console color using the limited color palette.
Mode 2: Change the foreground and background character color using the limited color palette, and the background console color using RGB.

NOTE: In Mode 2, set the foreground and/or background character color to zero for RGB color.