|
-
March 18th, 2004, 06:24 AM
#1
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
-
March 18th, 2004, 06:38 AM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|