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

The inactive scrollbar is for the internal Window. I have added "-vscroll => 1" to it, still it's inactive. thanks
  • Comment on Re^4: Win32::GUI - need a window within a window

Replies are listed 'Best First'.
Re^5: Win32::GUI - need a window within a window
by BrowserUk (Patriarch) on Jul 02, 2015 at 13:51 UTC
    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!
      1. the contents of the internal window IS bigger then the windows, and would need scrolling ... 2.this sub - does not seem to do much - did I miss something ? "sub Inner_Scroll { ## assumes you've named your inner window 'Inner'. ## do stuff. You'll need to look up the details. }"