Hi:
Is that possible to change the color of a window's border?
For example, the border style is set to wxRAISED_BORDER or wxSIMPLE_BORDER.
--Frank
Hi:
Is that possible to change the color of a window's border?
For example, the border style is set to wxRAISED_BORDER or wxSIMPLE_BORDER.
--Frank
Frank Chen wrote:
Hi:
Is that possible to change the color of a window's border?
For example, the border style is set to wxRAISED_BORDER or wxSIMPLE_BORDER.
No, but it is easy to creat your own border. Just use a new window and
use it's SetBackgroundColour method to set the norder colour you want,
and then make your real window borderless and position it on the new
window with 1 pixel all the way around of the other window left exposed.
Adapt accordingly for raised or sunken borders by drawing the border
yourself on the back window.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!