Announcement

Collapse
No announcement yet.

Problem with %ES_CENTER

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bruce Fech
    replied
    Lance,

    That was it, Thanks.

    Bruce


    ------------------

    Leave a comment:


  • Lance Edmonds
    replied
    Edit controls need to include the %ES_MULTILINE style before %ES_CENTER (or %ES_RIGHT) will work.

    From WIN32.HLP:
    There are three styles that cause Windows to align the text in an edit control. The ES_LEFT, ES_CENTER, and ES_RIGHT styles determine whether text is aligned on the left, center, or right, respectively. These styles apply only to multiline edit controls.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Bruce Fech
    started a topic Problem with %ES_CENTER

    Problem with %ES_CENTER

    Hello,

    I am having problem using the %ES_CENTER style on a textbox
    under Windows 95b, the text is always on the left. However
    the same code works just fine under 98 or NT40.

    Same EXE different OS, any ideas?

    Bruce

    ------------------
Working...
X