Software Archive
Read-only legacy content
17060 Discussions

Standard Graphics App Text Scrolling

jajr
Beginner
611 Views
I have converted a large legacy application into a QuickWin Standard Graphics Application. The program can produce a large amount of text output, and the problem is that this scrolls very slowly.
Is there any way to speed up this scrolling?
0 Kudos
5 Replies
Steven_L_Intel1
Employee
611 Views
Only by reducing the window size. A QuickWin window is a bitmap, and if the bitmap is very large (especially if your screen resolution is high), scrolling can be slow.

Steve
0 Kudos
jackosullivan
Beginner
611 Views
Steve,
Does your note about Quick Win windows being bit maps (and thus slow) imply that perhaps true PI-generated windows are not? Put another way, will my Fort ran's dynamic graphics work noticeably faster if I convert to Win32 PI rather than keep my graphics in Quick Win?
0 Kudos
jackosullivan
Beginner
611 Views
stupid spell-checker! "PI" of course, should be "API", "Quick Win" should be "QuickWin", "bit maps" should be "bitmaps", and "Fort ran" (!) should be Fortran!
sorry about that..
God bless!
Jack
0 Kudos
Steven_L_Intel1
Employee
611 Views
When you use the Win32 API, you're usually creating bitmaps anyway. The thing about QuickWin is that you get a scrollable window, which is hard to do directly with the Win32 API, and that scrolling the window involves copying portions of a bitmap - memory and processor-intensive.

If you can live without scrolling, you MIGHT get a bit more speed out of direct Win32 calls, but I doubt it's worth the hassle.

Steve
0 Kudos
jackosullivan
Beginner
611 Views
exactly what I wanted to hear! too old to learn API graphics!
Thanks, as usual, Steve, for your speedy and expert response.
God bless!
jack
0 Kudos
Reply