× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Nope, don't want to mess with API's or anything like that. I'd just like 
IBM to put a button on the tool bar or as an action to toggle the 
attribute bytes on and off.


Paul Nelson
Arbor Solutions, Inc.
708-670-6978  Cell
pnelson@xxxxxxxxxx





Douglas Handy <dhandy@xxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
11/04/2004 04:55 PM
Please respond to Midrange Systems Technical Discussion
 
        To:     Midrange Systems Technical Discussion 
<midrange-l@xxxxxxxxxxxx>
        cc: 
        Subject:        Re: Display file attributes


> I've not bothered to look at this in probably 15 years, but doesn't
> client access support some APIs like the old emulation did? 

FWIW, client access does indeed support APIs to get the "presentation
space" of an emulated session, and IBM even has some sample programs. 
Running the Emulator HLL API (EHLLAPI) sample, it appears that I can
read any byte on the screen but only update bytes which are within
input capable fields.  Trying to place a character in a non-field area
or over a display attribute causes a return code of 5 instead of 0. 
The docs define return code 5 as:

  "The target presentation space is protected or inhibited, or
incorrect data was sent to the target presentation space (such as a
field attribute byte)."

Or at least that is the case when using the "copy string to
presentation space" function -- maybe thre is another API which would
act more like the old 5250 emulation APIs and let you modify non-input
capable bytes too.  That's how I made them visible in the old days.

Doug
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.