
                            JText version 1.2

                     Copyright (C) 1999 Shamil Nizamov
                      e-mail: wordsflash@xoommail.com

                            All Rights Reserved

                                AS_DLL.TXT
   
CONTENTS
========

1. GENERAL CONSTANT AND VARIABLES
2. GENERAL JText FUNCTIONS
3. CONTACT INFORMATION



1. GENERAL CONSTANT AND VARIABLES
========

 Following constants are declared in JText:

   csUni = 0
   csSJIS = 1


1. GENERAL JText FUNCTIONS
========

 JText has the following general functions:

 TextOutJ
 -----------------------------------------------------------------------------
 The TextOut function writes a Japanese character string at the specified 
 location, using the currently selected font. 
 Note: In evaluation version location is PREDITERMINATE as Left = 170, 
 Top = 100.

 BOOL TextOut(
    HDC hDC,       	// handle of device context 
    UINT nXStart,	// x-coordinate of starting position  
    UINT nYStart,	// y-coordinate of starting position  
    LPCTSTR lpString,	// address of string 
    UINT CharSet 	// used char set constant 
   ); stdcall;	 
 

  Parameters description:

    hDC      : Identifies the device context. 

    nXStart  : Specifies the logical x-coordinate of the reference point that 
               Windows uses to align the string. 

    nYStart  : Specifies the logical y-coordinate of the reference point that 
               Windows uses to align the string. 

    lpString : Points to the string to be drawn. The string does not need to 
               be zero-terminated.

    CharSet  : Specifies the character constant number, csSJIS.

   Return Values:
    If the function succeeds, the return value is True.
    If the function fails, the return value is zero. To get extended error 
    information, call GetLastError. 


   DrawTextJ
 -----------------------------------------------------------------------------
 The DrawText function draws formatted text in the specified rectangle. It 
 formats the text according to the specified method (expanding tabs, justifying 
 characters, breaking lines, and so forth). 

 int DrawTextL(
    HDC hDC,		// handle to device context 
    LPCTSTR lpString,	// pointer to string to draw 
    LPRECT lpRect,	// pointer to structure with formatting dimensions  
    UINT uFormat, 	// text-drawing flags 
    UINT CharSet 	// used char set constant 
   ); stdcall;


 Parameters description:

    hDC      :  Identifies the device context. 

    lpString :  Points to the string to be drawn.
	        Count parameter calculated automatically.

    lpRect   :  Points to a RECT structure that contains the rectangle 
                (in logical coordinates) in which the text is to be formatted.

    uFormat  :  Specifies the method of formatting the text. It can be any 
                combination of the several values. Check DrawText function
                from Win32 Programmer's Reference in order to find out
                all possible values.  

    CharSet  : Specifies the character constant number, csSJIS.
 
  Return Values
    If the function succeeds, the return value is the height of the text. 


3. CONTACT INFORMATION
======================

 JText is maintained at the following internet address:

 http://members.xoom.com/WordsFlash

 where you can find the latest release of this and other applications
 and link to a support and on-line ordering site.

 Comments, questions and suggestions regarding JText can be directed
 by e-mail to wordsflash@xoommail.com or sheen@ufanet.ru (may be changed).

 With best wishes,
 Shamil Nizamov
 October 1999