Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vintage programming
#1
Greetings all.

100% New here.
I normally program for windows, but i miss the good old days where stuff were so much simpler.
I also realize how much I have forgotten about Qbasic and the stuff I enjoyed.

My request is not really serious, but rather curious as to certain processes that I saw in VBDOS that were carried over into windows.
It is easy to use pre-existing controls in visual designers, but how on earth did Microsoft create those basic controls for VB dos??

Like: On a dos screen in QB64 I set width to 140, 50 which looks much like the old DOS screens.
Drawing boxes with Ascii codes using commands SUBs is pretty fun, but it is just lines and text.

How would one try and create a basic FORM in Screen 0 that looks like VBDOS (the draw is easy) that you could MOVE and open another?
It has to be some image clipping of sorts and event trapping?

I am having loads of fun, but i also realize how much i have become dependent on other people's designers without understanding the core processes that runs it.

Some ideas would be much appreciated.

Regards, Pete
Reply
#2
Welcome @BigPete

FellippeHeitor started the InForm project that is allot like VBDOS.

Samuel, a740g, picked up that project and carried it further here:
https://qb64phoenix.com/forum/showthread.php?tid=1756

You can follow my adventures in GUI programming that started here:
https://qb64phoenix.com/forum/showthread.php?tid=607
and more recent updates here:
https://qb64phoenix.com/forum/showthread.php?tid=689

that might give you an inkling how it's done Smile
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#3
@bplus, your Tic Tac Toe is well done. The graphics are always simple, it depends on the AI. Unless one make a stupid mistake, there will never be a winner in the game.

Do you know the movie where TTT basically saves the world from nuclear war? Comes at the end of the film: 



Only the 5 seconds are too short, let's see if I can manage a query like "Another game?"
Reply
#4
ah yes kp, that was before ferris bueller took a day off Smile
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#5
HI All

Great, so you have managed to create your own controls.
That will be helpful, thank you.

I was thinking of loading the control parameters into a UDT and hold all those in an array.

For now, i want to figure out the dragging process with just one object.

I will work through your code.
Thanks a million

-Peter
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QB64PE programming challenge? auto-convert image to photoreal etch-a-sketch drawing madscijr 9 1,826 02-14-2025, 05:49 PM
Last Post: madscijr
  Steve's Programming Challenge: Weights and Measures SMcNeill 23 3,925 08-16-2024, 08:49 PM
Last Post: Pete
  For what it’s worth: Programming Clarity PhilOfPerth 11 2,240 07-27-2024, 03:15 PM
Last Post: bplus
Question Just a heads up about the NSA list of memory-safe programming languages madscijr 5 2,247 03-06-2024, 05:21 AM
Last Post: TerryRitchie
  Chapter 20 Games Programming Terry's Tutorial bplus 3 911 06-29-2023, 08:12 PM
Last Post: TerryRitchie

Forum Jump:


Users browsing this thread: 1 Guest(s)