Neil Hodgson wrote:
Greg Smith:
SCI_SETZOOM(int zoomInPoints)
SCI_GETZOOM
These messages let you set and get the zoom factor directly. There is no limit
set on the factors you can set, so limiting yourself to -10 to +20 to match the
incremental zoom functions is a good idea. You can also disable zooming by
setting zoomInPoints to -1024. If you do this, no user zoom or use of the
SCI_ZOOMIN and SCI_ZOOMOUT messages will have any effect until you use
SCI_SETZOOM with a zoomInPoints values greater than -1024.
-------------------------------
I have a small preference for an explicit setting rather than a
magic value. If you do the -1024 value then that constant needs to be
added to the .iface.
So this could be done like other Scintilla calls where a value AND a
bool flag are passed in... in the case of SCI_SETSELBACK, a false
first param means to ignore the colour argument.
That *would* be more Scintilla-like, I suppose. ;)
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest