Paul K
2014-02-12 04:52:59 UTC
All,
I use calltips to display function descriptions in my application and
sometimes those descriptions get long. I limit the width of the text to 60
characters (configurable), but when the text is close to the right
boundary, a part of the window is cut.
I'd like to adjust the position of the calltip to the left, but can't
figure out the logic as I don't know the width of the calltip window itself
(although I can probably approximate it based on the width of the text).
Does anyone already have the logic that does this or something similar?
Another related issue is that most of the time the tip is below the text,
but if it's too long to fit the current window, it's shown above the text.
Unfortunately it may still not fit on the screen and it's even worse as you
can't see the beginning of the calltip and the calltip may still fit on the
screen if shown below the text as there may be enough space covering other
windows.
Is there any way to adjust the behavior between showing the calltip above
or below the text? I know about CALLTIPSETPOSITION, but it only sets the
initial preference, but doesn't "lock" the behavior. Thank you.
Paul.
I use calltips to display function descriptions in my application and
sometimes those descriptions get long. I limit the width of the text to 60
characters (configurable), but when the text is close to the right
boundary, a part of the window is cut.
I'd like to adjust the position of the calltip to the left, but can't
figure out the logic as I don't know the width of the calltip window itself
(although I can probably approximate it based on the width of the text).
Does anyone already have the logic that does this or something similar?
Another related issue is that most of the time the tip is below the text,
but if it's too long to fit the current window, it's shown above the text.
Unfortunately it may still not fit on the screen and it's even worse as you
can't see the beginning of the calltip and the calltip may still fit on the
screen if shown below the text as there may be enough space covering other
windows.
Is there any way to adjust the behavior between showing the calltip above
or below the text? I know about CALLTIPSETPOSITION, but it only sets the
initial preference, but doesn't "lock" the behavior. Thank you.
Paul.
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.