M
Mark Johnson
From what I have found out today there are certain Controls where Windows
does the Painting and an override of OnPaint is not possible.
On Framework.Desktop this can be solved with the use of
"this.SetStyle(ControlStyles.UserPaint,true);",
but this is not supported on Compact.
Is there a workaround/trick to get OnPaint to work without reinventing the
Wheel (rewriting TextBox/ComboBox or whatever other Controls are effected)
?.
All I want to do is to repaint the Border so that it will look more like the
Desktop version (3D Effect).
With my own Controls this works well, but the others .. well ... look very
flat (and boring).
Mark Johnson, Berlin Germany
(e-mail address removed)
does the Painting and an override of OnPaint is not possible.
On Framework.Desktop this can be solved with the use of
"this.SetStyle(ControlStyles.UserPaint,true);",
but this is not supported on Compact.
Is there a workaround/trick to get OnPaint to work without reinventing the
Wheel (rewriting TextBox/ComboBox or whatever other Controls are effected)
?.
All I want to do is to repaint the Border so that it will look more like the
Desktop version (3D Effect).
With my own Controls this works well, but the others .. well ... look very
flat (and boring).
Mark Johnson, Berlin Germany
(e-mail address removed)