October 31, 2025, 03:02:21 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Left justify text in button

Started by Robert34, June 30, 2009, 06:03:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Robert34

Is it possible to left justify the text in a button control?
Is there a list of the style flags that apply to controls?

Thanks,
Robert

sapero

It should be working with BS_LEFT bit (0x100). The list of ther styles you can wind in winuser.inc or beter in the downloadable help framework from Microsoft - huge (about 1GB) MSDN or older, small (about 200MB) but still good Platform SDK for windows Server 2003.
Here's the latest release: Microsoft Windows SDK for Windows 7

aurelCB

Just one suggestion.
For quick view on control styles i always use
freeware ResEd - resource editor.
http://radasm.110mb.com/resed/index.html