I'm a long-time user of Turbo and Power Basic, for a game program
I (still) publish in DOS, but am just beginning the effort to
convert it to Windows with PB/DLL 6.0.
After a couple of weeks of reading the PB/DLL manual from end to
end, I'm still mystified as to what PB/DLL control or command, if
any, will let me simply display text (up to a couple of pages
worth in some cases) in a box (other than the quickie MSGBOX
feature, which won't permit multiple pages of scrollable text,
far as I can tell).
In particular, since mine is a stock-market/corporate finance
simulation, I'm trying to find a way to create a moving stock
ticker on-screen, using a text string. In DOS, this was easy -- I
I just reprinted the leftmost 75 characters of the ticker string
across the top of the screen for about .05 seconds, then lopped
off the left most character, and then reprinted the leftmost 75
characters of the truncated string. My thought was that, with
PB/DLL I SHOULD be able to print and rapidly reprint a text
box containing a ticker string on part of the screen which
gives a similar appearance of moving, and which continues
reprinting (loading new text as needed) until the user clicks
on a listbox or other user input area also displayed at the
time. I'm begining to doubt if the latter is possible.
Can anyone give me a hint where I might start? Obviously, there
is no longer a "PRINT" command as there was in the DOS version,
but I assume there must be SOME type of control or command in
the Win GUI that allows you to simply pass a text string to a
box of a defined size and shape and display it.
------------------
[This message has been edited by Mike Jenkins (edited September 25, 2000).]
I (still) publish in DOS, but am just beginning the effort to
convert it to Windows with PB/DLL 6.0.
After a couple of weeks of reading the PB/DLL manual from end to
end, I'm still mystified as to what PB/DLL control or command, if
any, will let me simply display text (up to a couple of pages
worth in some cases) in a box (other than the quickie MSGBOX
feature, which won't permit multiple pages of scrollable text,
far as I can tell).
In particular, since mine is a stock-market/corporate finance
simulation, I'm trying to find a way to create a moving stock
ticker on-screen, using a text string. In DOS, this was easy -- I
I just reprinted the leftmost 75 characters of the ticker string
across the top of the screen for about .05 seconds, then lopped
off the left most character, and then reprinted the leftmost 75
characters of the truncated string. My thought was that, with
PB/DLL I SHOULD be able to print and rapidly reprint a text
box containing a ticker string on part of the screen which
gives a similar appearance of moving, and which continues
reprinting (loading new text as needed) until the user clicks
on a listbox or other user input area also displayed at the
time. I'm begining to doubt if the latter is possible.
Can anyone give me a hint where I might start? Obviously, there
is no longer a "PRINT" command as there was in the DOS version,
but I assume there must be SOME type of control or command in
the Win GUI that allows you to simply pass a text string to a
box of a defined size and shape and display it.
------------------
[This message has been edited by Mike Jenkins (edited September 25, 2000).]
Comment