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
b = b + ...
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
b = b + ...
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




Users browsing this thread: 2 Guest(s)