home *** CD-ROM | disk | FTP | other *** search
- TE Developer Kit
- for
- MS Windows
-
- Version 4.5 (a4)
-
-
-
- 1. New API : Set default tab width.
- int TerSetDefTabWidth(HWND hWnd, int NewTabWidth, BOOL repaint);
-
- The new tab width is specified in twips. This function returns the old value
- of the default tab width.
-
- 2. The TerPastePicture and TerPictureFromFile now take two more
- arguments. The first additional argument (integer) sets the picture
- alignment to one of these constant: ALIGN_BOT (default), ALIGN_TOP,
- ALIGN_MIDDLE. The second additional (BOOL) argument is set to TRUE
- (default) to insert the picture into text. The false value for this argument
- will simply return the picture id without inserting it into text.
-
- 3. New APIs:
- BOOL TerGetPictInfo(HWND hWnd, int PictId, LPINT style, LPRECT rect,
- LPINT align, LPINT AuxId);
- BOOL TerSetPictInfo(HWND hWnd, int PictId, UINT style, int align, int
- AuxId);
- These APIs are used to get or set style, alignement and auxiliary ids for a
- picture id. The TerGetPictInfo also returns the current location of the
- picture through the ærectÆ variable.
-
- 4. TerPrintPreview api now takes an additional argument æscaleÆ of BOOL
- type. Set this argument to TRUE if you wish the API to perform the scaling
- to draw within the rectangle.
-