Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Win32::GUI - need a window within a window

by levW (Beadle)
on Jul 02, 2015 at 12:58 UTC ( [id://1132971]=note: print w/replies, xml ) Need Help??


in reply to Re: Win32::GUI - need a window within a window
in thread Win32::GUI - need a window within a window

thanks, seems to look good. I have a vertical scroll bar, however it's inactive. Any ideas? thanks
  • Comment on Re^2: Win32::GUI - need a window within a window

Replies are listed 'Best First'.
Re^3: Win32::GUI - need a window within a window
by BrowserUk (Patriarch) on Jul 02, 2015 at 13:23 UTC
    I have a vertical scroll bar, however it's inactive.

    Clarify. A vertical (or horizontal) scrollbar attached to the main window or ...?

    And; do you want to remove it? Or activate it?

    Any ideas?

    Um. I warned you I probably can't help much further.

    But, You can control the addition of scrollbars to windows by specifying -hscroll => 0|1 and -vscroll => 0|1 when creating the control.

    If a scrollbar is being added without your requesting it and without you being able to turn it off using the above, then you're going to have to seek better guidance than I can give.

    Ditto, for how to control the scrollbar to do something useful.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
    I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!
      The inactive scrollbar is for the internal Window. I have added "-vscroll => 1" to it, still it's inactive. thanks
        The inactive scrollbar is for the internal Window. I have added "-vscroll => 1" to it, still it's inactive.

        I suspect that you would need two things for it to become active (but I'm half-remembering/guessing here!):

        1. The content of that inner window would need to be bigger than the client area.
        2. You might well have to added a scroll handler.

          Something like:

          sub Inner_Scroll { ## assumes you've named your inner window 'Inner'. ## do stuff. You'll need to look up the details. }

        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
        I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1132971]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 16:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found