Powerbasic Museum 2020-B

IT-Consultant: Patrice Terrier => Discussion => Topic started by: Frederick J. Harris on March 03, 2009, 02:21:10 AM

Title: Graphics In Console Window?
Post by: Frederick J. Harris on March 03, 2009, 02:21:10 AM
Hi Patrice!

    Perhaps this is something you would know about?

http://www.powerbasic.com/support/pbforums/showthread.php?t=40028

Fred
Title: Re: Graphics In Console Window?
Post by: Patrice Terrier on March 03, 2009, 08:54:14 AM
Fred,

QuotePerhaps this is something you would know about?
No, but wanting to perform graphics in console mode looks so funny to me.

For me the best solution would be to do this :

1 - Create a TOPMOST/POPUP window with a black background, using just these styles:
     %WS_EX_TOPMOST
     %WS_POPUP OR %WS_VISIBLE
2 - Create a memory buffer as large as the viewport (Client RECT) to use it as my back-buffer (to mimic PCOPY).
3 - And use a third party addon (or OpenGL) to perform the drawing ;)

...