Re: Vertical Scroll Bar - Help

new topic     » goto parent     » topic index » view thread      » older message » newer message

Download my "Text File Viewer" from the Archive. It displays colored text and
uses scroll bars,
up/down keys, pgup/pgdown keys and the mouse wheel. As long as you don't need
the user to *edit*
text, this should work fine for you. Feel free to copy whatever you need, since
that program is
one big hack around Example #12 from Win32Lib. If you'd like, I can turn the
text window into a
Win32Lib-like control, rather than just a window. I never saw much of a demand
for it, since the
program is mostly 'proof of concept'.

~Greg


----- Original Message -----
From: Matthew Anderson <andy at anders98.freeserve.co.uk>
Subject: Vertical Scroll Bar - Help



How do I add a vertical scroll bar to the RH edge of my  window ? Have
looked thru all the exercise progs but can't find one I can copy.

I am sending the results of my main routines to a text file which I then
display in the window.  I have a routine which allows use of arrow and PgUp
&PgDn keys but would like to scroll.  I am using winlib32-055 with Euphoria
version 2.1 and Windows 98.

generic.exw gives me a way out by using the client area for an MLEdit in
which I can display the results. This works fine but I need to display some
of the text in different colours. Although setFont()  works OK with MLEdit,
setTextColor() does not appear to?

  Can someone help with with one question or both ?

Matthew Anderson



TOPICA - Start your own email discussion group. FREE!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu