Welcome to the Monastery | |
PerlMonks |
Win32 GUI scrolling controls within the main windowby SteveR (Novice) |
on Jun 07, 2017 at 14:07 UTC ( [id://1192278]=perlquestion: print w/replies, xml ) | Need Help?? |
SteveR has asked for the wisdom of the Perl Monks concerning the following question: I can't find any explanation of what I am supposed to do to get scrolling working and what any built in Win32 GUI scrolling capability will do for me and if its there how do I activate it. I did find rob may's posting http://rob.themayfamily.me.uk/perl/win32-gui/scrollbars but I can't quite work out how to apply it to my problem Here is a simple snippet of code that just draws a couple of labels with the second label going over the status bar and getting cut off at the bottom. There is a sub for scroll events but I don't know what to put in it I'm trying to get the contents of the main window to scroll up and down in response to the scroll arrows on the right hand side Am I supposed to just Move() the controls up and down within the main window ? How do I get the bottom label to play nice with the status bar at the bottom and not go over it ? I am a casual perl scripter who has written a fair number of Perl console scripts over the years and have been experimenting with win32 gui for a few weeks. I have managed a simple non resizable gui app with buttons and list boxes but for my next project I need to get some controls to scroll inside a window or Groupbox. Its the beginnings of a picture renaming app. I am using ActiveState Perl
Back to
Seekers of Perl Wisdom
|
|