
TextBox .BorderStyle property at run-time
Put it off in design time, set new windowstyle in run-time.
An other example is to create Appearance using API;
l& = GetWindowLong(chWnd, -20)
l& = l& Or &H20000
l& = SetWindowLong(chWnd, -20, l&)
redraw..
SetWindowPos chWnd, chWnd, 0, 0, 0, 0, &H1 + &H2 + &H4 + &H20
Steven Burr heeft geschreven in bericht ...
Quote:
>Is there a way to change the .BorderStyle property of a TextBox with an API
>call at run-time?
>(I really don't want the overhead of redundant controls with visiblity
>toggling since I have quite a few controls)
>I think the ListView control can set pre-hWnd properties by temporarily
>destroying the control and then re-creating it. Is there a similar
>application for TextBoxes?
>Thanks,
>-steve