ScrollAreaGadget and TouchPAD Scrolling

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Phantomas
User
User
Posts: 96
Joined: Wed Jul 01, 2009 12:59 pm

ScrollAreaGadget and TouchPAD Scrolling

Post by Phantomas »

Hello. I use Windows 7 Lenovo G580 Laptop.
Laptop have TouchPAD (Elan Smart-Pad) under "ETDWare PS/2-X86 11.4.3.3_WHQL" driver. I can do Vertical and Horizontal scrolling through it in many Applications (Notepad, PureBasic IDE, EditorGadget(), etc.), but I can't scrolling in ScrollAreaGadget().

You can download video of problem here:
http://rghost.ru/private/47589125/ea5de ... ec4d670c1a

Can you fix it?
Phantomas
User
User
Posts: 96
Joined: Wed Jul 01, 2009 12:59 pm

Re: ScrollAreaGadget and TouchPAD Scrolling

Post by Phantomas »

Forgot, code:

Code: Select all

EnableExplicit

Enumeration
  #window
  #g_scroll
  #g_text
EndEnumeration

If OpenWindow(#window, #PB_Ignore, #PB_Ignore, 640, 480, "ScrollAreaGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  ScrollAreaGadget(#g_scroll, 5, 5, 630, 470, 630, 800, 32)
  TextGadget(#g_text, 10, 10, 100, 20, "Text")
  CloseGadgetList()
  Repeat
    Select WaitWindowEvent()
      Case #PB_Event_CloseWindow
        Break
    EndSelect
  ForEver
EndIf
Post Reply