× 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.


  • Subject: Re: Dynamic Screen API
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Sun, 16 Apr 00 12:56:18 +1000

R
Hello Joe,

Another question not specific to RPG ...

It's been a while since I last used the DSM APIs but a quick read of the FM 
gives 
me the information that the window attributes are specifed in the first 
parameter 
of the QsnCrtWin API.  This parameter is the Window Description and is a 
structure 
which is also described in the manual.  The fields you are interested in are 
the 
border character flags:

   
     44   2C  CHAR(1)     Upper left border character                   
   
     45   2D  CHAR(1)     Top border character                          
   
     46   2E  CHAR(1)     Upper right border character                  
   
     47   2F  CHAR(1)     Left border character                         
   
     48   30  CHAR(1)     Right border character                        
   
     49   31  CHAR(1)     Lower left border character                   
   
     50   32  CHAR(1)     Bottom border character                       
   
     51   33  CHAR(1)     Lower right border character                  
   

The default values are . . . : : : . : respectively.  The 'blue line' you see 
is, I 
believe, the result of displaying the window on a GUI device such as PC5250 and 
is 
the default GUI character.  These can also be specified in the Window 
Description 
but you'll need to read the 5494 Functions Reference Manual to determine the 
GUI 
structures.

Regards,
Simon Coulter.


 FlyByNight Software         AS/400 Technical Specialists       
 Eclipse the competition - run your business on an IBM AS/400.  
                                                                
 Phone: +61 3 9419 0175      Mobile: +61 0411 091 400           
 Fax:   +61 3 9419 0175      mailto: shc@flybynight.com.au      
                                                                
 Windoze should not be open at Warp speed.                      
R-Mailer: Microsoft Outlook Express 5.00.2615.200
Date: Sat, 15 Apr 2000 14:33:20 -0400
From: "Joe Sarnowski" <jfs@aug.com>
To: RPG400-L@midrange.com
Reply-To: RPG400-L@midrange.com
Subject: Dynamic Screen API
R've just started using these APIs and I'm trying to find the parameters on
the QsnCrtWin API that controls the window boundary character and color. I
believe that the default is a blue line.

Any help is greatly appreciated...

Joe 
R!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
I've just started using these APIs and I'm trying to find the parameters on
the QsnCrtWin API that controls the window boundary character and color. I
believe that the default is a blue line.

Any help is greatly appreciated...

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.