DOC: TabbedTextOut Tab Positions Really in Logical Units

ID: Q113253

3.00 3.10 | 3.10 3.50 WINDOWS | WINDOWS NT kbgraphic kbdocerr
The information in this article applies to:


SUMMARY

Both the printed and electronic documentation from the Windows 3.0 and 3.1 SDKs, as well as the Win32 SDK, state that the tab positions parameter of TabbedTextOut() is in device units. This is incorrect. The tab position array is in logical units. The Windows 3.0 and 3.1 SDKs refer to the tab position array as lpnTabPositions, while the Win32 SDK calls it lpnTabStopPositions.

The use of logical units can be seen by using a mapping mode other than the default MM_TEXT. The output of tabs using TabbedTextOut() reflects the mapping mode.

Additional query words: 3.00 3.10 docerr


Keywords          : kbdocfix kbNTOS350 kbNTOS351 kbSDKWin16 
Version           : WINDOWS:3.1; winnt:3.5,3.51
Platform          : WINDOWS winnt 
Issue type        : 

Last Reviewed: June 16, 1999