×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Win32::GUI - need to create a window with scroll bar , within a main window

Win32::GUI - need to create a window with scroll bar , within a main window

Win32::GUI - need to create a window with scroll bar , within a main window

(OP)
HI, With Win32::GUI - need to create a window with scroll bar , within a main window. This second window (child of a main window) will hold different buttons/checkboxes ,etc , and will have a scroll bar . Did not find so far any package in win32::GUI that will enable me to achieve the above. Help appreciated. thanks

Code:
my $main = Win32::GUI::Window->new( -name => 'Main',-width => 860,-height => 950, ,-pos => [700,10]);
my $frame5 = $main->AddGroupbox(-width => 490,-height => 675,-vscroll =>1,-pos => [ 2, 88 ]);

..now fill this new Groupbox with different controls that exceed the bax height.
The scroll bar is there,but will not scroll (inactive)

Ideas ?
thanks

Long live king Moshiach !
http://www.noahide.org/

RE: Win32::GUI - need to create a window with scroll bar , within a main window

(OP)
Any luck here ?

Long live king Moshiach !
http://www.noahide.org/

RE: Win32::GUI - need to create a window with scroll bar , within a main window

(OP)
thanks anyhow
You've always tried to help when you could.
Appreciated.

Long live king Moshiach !
http://www.noahide.org/

RE: Win32::GUI - need to create a window with scroll bar , within a main window

Looks like you might need to write some code to handle the scrolling?

I found this looking around on google: http://rob.themayfamily.me.uk/perl/win32-gui/scrollbars/sb3

That link is to part 3 of the tutorial which is where the scroll bars are added (I believe you said you already have that part done.) Parts 4, 5 and 6 deal with writing the scrolling code.

Good luck!

RE: Win32::GUI - need to create a window with scroll bar , within a main window

(OP)
thanks, will check it out.

Long live king Moshiach !
http://www.noahide.org/

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close