Search the web
Sign In
New User? Sign Up
awnpipe · For help/general discussions about AWNPipe
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
modify   Message List  
Reply | Forward Message #516 of 545 |
Re: modify

Hi, I encountered some problems again.

What I am trying to do is to open a window and take care of information.

Right now I am using the dos.library-comand Read() to get
information on events from the GUI - this is not an arexx-script.
After I have created the GUI and opened it via "open", according to the
manual I must make a call to "continue" in order to read windowevents
continously after I have made a modify-call and changed for example a
button.

Quote:
;--

"WE do not want to modify anything at this time but we still need to send the
continue line so the pipe will stop looking for modify lines and send us
another event.
'continue'
The line read from the pipe should be
'ok'"

<snap>

You keep reading an event then sending modify commands until the end of file
is received. You could also close the pipe after the close event is read.

;--
End quote

However as I want my program to be non-halting (and Read() doesn't return
until data is available) I use a call to Seek() in order to see if there is
pending
data before calling FGets(). This seems to work fine but the problem is the
need for a call to "continue" after I have done a "modify" and the fact that the
pipe
now starts to wait for an event.

My GUI though needs to be "fed" from a standalone program which can send
"modify"-commands to it any time. This seems to cause a clog in the pipe.

So, in short, how can I let the program listen for both gui-events and send
"modify"-calls and NOT clog the pipe?

I hope you understood what I was rambling about :)

//Thor
--
Peter Thor



Fri Jun 21, 2002 9:43 pm

pettho-0@...
Send Email Send Email

Forward
Message #516 of 545 |
Expand Messages Author Sort by Date

Hi guys, just joined this list after a troublesome night with trying to get modify to work. I've included a small file for you to try, what happens is that I...
Peter Thor
pettho-0@...
Send Email
Jun 20, 2002
7:55 am

Bruce Steers http://sdf-eu.org/~bws bws@... A.S.A. RoundTable Member http://www.amigasupport.org.uk/ bwsasa@... -- --tag of the day-- Unable to...
Bruce @ ASA
brucesteers
Offline Send Email
Jun 20, 2002
1:08 pm

... Thank you Bruce for the clarifications, I had totally overseen the 'modify' option to 'title'. Chreers! //Thor -- Peter Thor ICQ: 11277616, IRC: Joru ...
Peter Thor
pettho-0@...
Send Email
Jun 20, 2002
3:13 pm

Hi, I encountered some problems again. What I am trying to do is to open a window and take care of information. Right now I am using the dos.library-comand...
Peter Thor
pettho-0@...
Send Email
Jun 21, 2002
8:39 pm

... Doh, maybe I should have checked out the docs more and I would have found out the arexx-port :) /Me stands in the corner ashamed ;) //Thor -- Peter Thor...
Peter Thor
pettho-0@...
Send Email
Jun 22, 2002
12:03 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help