home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Unleashed / Visual_Basic_4_Unleashed_SAMS_Publishing_1995.iso / tedevkit / readme < prev    next >
Encoding:
Text File  |  1995-09-11  |  1.2 KB  |  34 lines

  1. TE Developer Kit
  2. for
  3. MS Windows
  4.  
  5. Version 4.5 (a4)
  6.  
  7.  
  8.  
  9. 1.    New API : Set default tab width.
  10.     int TerSetDefTabWidth(HWND hWnd, int NewTabWidth, BOOL repaint);
  11.  
  12.     The new tab width is specified in twips.  This function returns the old value 
  13. of the default tab width.
  14.  
  15. 2.    The TerPastePicture and TerPictureFromFile now take two more 
  16. arguments.  The first additional argument (integer) sets the picture 
  17. alignment to one of these constant: ALIGN_BOT (default), ALIGN_TOP, 
  18. ALIGN_MIDDLE.  The second additional (BOOL) argument is set to TRUE 
  19. (default) to insert the picture into text.  The false value for this argument 
  20. will simply return the picture id without inserting it into text.
  21.  
  22. 3.    New APIs: 
  23.     BOOL TerGetPictInfo(HWND hWnd, int PictId, LPINT style, LPRECT rect, 
  24. LPINT align, LPINT AuxId);
  25.     BOOL TerSetPictInfo(HWND hWnd, int PictId, UINT style, int align, int 
  26. AuxId);
  27.     These APIs are used to get or set style, alignement and auxiliary ids for a 
  28. picture id.  The TerGetPictInfo also returns the current location of the 
  29. picture through the ærectÆ variable.
  30.  
  31. 4.    TerPrintPreview api now takes an additional argument æscaleÆ of BOOL 
  32. type.  Set this argument to TRUE if you wish the API to perform the scaling 
  33. to draw within the rectangle.
  34.