scot@rtmvax.UUCP (Scot Harris ) (04/07/88)
Recently I have been attempting to write some simple utility type programs and I have run into a roadblock. I would like to be able to change the prompt in a window from an application program. The problem is that from all the information I have you need a pointer to the window structure to get at the structures needed. Specificly it looks like the structure I want access to is in dosextens.h include file in the libraries directory. I am using Lattice 4.0 for this work. I tried using the system call to the prompt command but the change if it actually occured (sure it did but did not see it in the cli window) reverted back to the prompt that the cli window orginally had. I would like to be able to make a change to the prompt have it remain changed when the program terminates. Another item of information that I would like is the current window parameters such as width and height. I know that this can be done since I have the sd program written by David Tingler. However it is in Modula II and I have little experience with that language. Please direct responses to one of my mail addresses below. If requested I will summarize the responses and post the results. Thank you for any and all help. --------------------------------------------------------------------- _ /// / \ /// /___\ _ _ ____ _ \\\/// / \ /\/\ | | ___ /_\ \XX/ / \ / \ _|_ |___| / \ Scot L. Harris !{mtune,moss}!codas!alxfin!rtmvax!scot or !{mtune,moss}!codas!alxfin!rtmvax!amigash!scot [Of course I uupc from my Amiga! Doesn't everyone????] ______________________________________________________________________