Changing widget's border dynamically

Karol Gottan gottan at op.pl
Thu Apr 5 23:41:54 PDT 2007


> Recall our human legacy: Trial and error =)

Of course tried, but it didn't work. However
it means nothing because it's possible I did
mistakes in my tests or did it wrongly.

> You will see that you then could make more 
 > precise questions also.

Is my question really so not precise ? I doubt.

In wxWidgets you can set widget's border type
during widget's construction thru "style" param
(see almost all wxWidgets constructors).

I would like to change this border type during
runtime in response to events, using :

   wxWindow::SetWindowStyleFlag(long style)

-- 

Regards
  Karol




More information about the wx-users mailing list