Results 1 to 9 of 9

Thread: Changing window style (RESOLVED)

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Changing window style (RESOLVED)

    Is it possible to change the MultiLine style on a textbox or can it be only set during window creation?

    I thought I could something like
    long tStyle=0;
    tStyle=GetWindowLong(m_hwnd,GWL_STYLE);
    if ((tStyle | ES_CENTER)==tStyle)
    {
    tStyle = tStyle ^ ES_CENTER;
    }
    tStyle=tStyle | ES_RIGHT;
    SetWindowLong(m_hwnd,GWL_STYLE,tStyle);
    Last edited by packetVB; May 25th, 2004 at 09:15 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width