INFO: Text Alignment in Single Line Edit Controls
PSS ID Number: 108940
Article Last Modified on 7/12/2000
The information in this article applies to:
- Microsoft Win32 Software Development Kit (SDK)
- Microsoft Windows Software Development Kit (SDK) 3.1
This article was previously published under Q108940
SUMMARY
Text in single line edit controls cannot be centered or right-aligned
(right-justified). Text in single line edit controls is left-aligned (left-justified) by default. This is by product design, and therefore specifying the ES_RIGHT or ES_CENTER style while creating the single line edit control does not have any effect on the text alignment.
Keywords: kbCtrl kbEditCtrl kbinfo KB108940
Technology: kbAudDeveloper kbSDKSearch kbWin32SDKSearch kbWin32sSearch kbWin3xSearch kbWinSDK310 kbWinSDKSearch