-
rotation of controls
hi
i was wondering can a control be rotated , for example a tree be displayed in a horizontal direction, or rotated to 45 or 90 degrees, etc.
or an edit box in vertical direction anything like it.
as we already have a horizontal and vertical scroll bars, a horizontal or vertical slider
what cud be the pros and cons in drawing and updations once such a control is made.
any ideas?
cheers
-
You might be able to override the painting function for the control and rotate it yourself using something like this, also mouse clicks would have to be translated.
I don't know if you would want the sideways text though, or if there is a way to rotate a control while keeping the text upright. If you wanted an edit control like that you could make it tall and narrow, disable horizontal scrolling, and append a newline for every character entered while changing the functions of other keys accordingly.