|
-
May 17th, 2004, 07:46 AM
#1
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|