🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer.tools
2 messages
2 total messages Started by Keith Bennett Sat, 01 Apr 1995 00:00
Need advice for simple C++ windowing (PM or VIO/FS)
#48
Author: Keith Bennett
Date: Sat, 01 Apr 1995 00:00
36 lines
2304 bytes
I will be writing some small programs to test TCP/IP sockets, and
would like to have several threads running simultaneously, each
writing to their own window or section of the screen.  I would like
each window to scroll so that the screen doesn't get messy.  The
compiler being used is IBM's C/Set++.

I have the freedom to make these test programs PM or VIO/Full Screen.

Can anyone suggest a simple method of neat and clean text output?
All I really need is a library that will divide the screen into
several pieces; I don't even need borders or title bars, etc.,
although they would be nice.

First I thought of using ANSI escape sequences to do cursor
positioning, etc. in a VIO or full screen window.  Then I realized
I'd have to manage the scrolling and clipping myself, and I figured
there might be an easier way.

Then I thought of using PM windows.  This in fact might be the best
way.  I'd like to get comfortable with them anyway.  But how does one
do scrolling within a PM window?  I don't want to use up a lot of
memory making list boxes that save every line of output.

Do you recommend the UICL?  Or just build a screen with the
interactive tool and use regular PM C functions?  I'm quite
comfortable with C++ but haven't yet used UICL.  By the way, any
suggestions on the best way to learn it?

Thanks for any help.
- Keith

-- 
--------------------------------------------------------------------------
Keith Bennett                             Bennett Business Solutions, Inc.
Silver Spring, MD USA                     OS/2 & DOS Software Development
kbennett@cpcug.org                        (301) 871-7696
Re: Need advice for simple C++ windowing (PM or VIO/FS)
#46
Author: dsdarrow
Date: Sun, 02 Apr 1995 00:00
23 lines
1607 bytes
In <3ljtqm$91t@cpcug.org>, kbennett@cpcug.org (Keith Bennett) writes:
>I will be writing some small programs to test TCP/IP sockets, and
>would like to have several threads running simultaneously, each
>Do you recommend the UICL?  Or just build a screen with the
>interactive tool and use regular PM C functions?  I'm quite
>comfortable with C++ but haven't yet used UICL.  By the way, any
>suggestions on the best way to learn it?
>
>Thanks for any help.
>- Keith
>
There are three different groups on line where this might be much more
fruitfully posted.

   comp.os.os2.programmer.oop
   comp.os.os2.programmer.tools
   comp.os.os2.programmer.misc

They'd be much more likely to have the answers you are seeking,
     _ _
    \ \ \     Doug Darrow     \     $ 0.02 (two cents worth)
     )=========================>    - 0.01 (for your thoughts)
    /_/_/ <dsdarrow@rain.org> /     = 0.01 (value of post 8-)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads