|
-
Mar 25th, 2009, 10:54 AM
#1
Scrolling issue
Hai friends,
Code:
SendMessage(hwnd,WM_VSCROLL ,3,0) ' 3 = SB_PAGEDOWN
Problem is, all other windows are scrolling except firefox browser window 
y is that?
-
Mar 25th, 2009, 11:08 AM
#2
Re: Scrolling issue
Are you sure you have the right Hwnd for Firefox?
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Mar 25th, 2009, 11:14 AM
#3
Re: Scrolling issue
YAH koolsid i am sure
-
Mar 25th, 2009, 11:18 AM
#4
Re: Scrolling issue
Ok let me download firefox... I use chrome and IE 
Give me 15 mins...
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Mar 25th, 2009, 11:24 AM
#5
Re: Scrolling issue
 Originally Posted by koolsid
Ok let me download firefox... I use chrome and IE
Give me 15 mins...
Cool Tx. btw, Glad to hear a person in the universe surfing the web without even ff installed
-
Mar 25th, 2009, 11:31 AM
#6
Re: Scrolling issue
Ok guess what... I tried it with IE,Chrome and FF.. it didn't work... this is the code that I am using... let me see if i am missing something...
vb Code:
Private Declare Function SendMessage Lib "user32" _ Alias "SendMessageA" (ByVal hwnd As Long, ByVal _ wMsg As Long, ByVal wParam As Integer, ByVal lParam As Any) As Long Private Const WM_VSCROLL = &H115 Private Declare Function FindWindow Lib "user32" _ Alias "FindWindowA" (ByVal lpClassName As String, _ ByVal lpWindowName As String) As Long Private Sub Command1_Click() Dim Ret1 As Long, ret As Long '~~> Finding exact Windows by window name 'Ret1 = FindWindow(vbNullString, "Welcome to Firefox - Mozilla Firefox") Ret1 = FindWindow(vbNullString, "VBForums - Inbox - Windows Internet Explorer") If Ret1 = 0 Then MsgBox "Couldn't find the window ...": Exit Sub MsgBox Ret1 '~~> Sending the command ret = SendMessage(Ret1, WM_VSCROLL, 3, ByVal CStr("0")) End Sub
Cool Tx. btw, Glad to hear a person in the universe surfing the web without even ff installed
My only answer to your question is a question.. Have you used Chrome?
__________________
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Mar 25th, 2009, 11:58 AM
#7
Re: Scrolling issue
Cool Tx. btw, Glad to hear a person in the universe surfing the web without even ff installed
i tried chrome in ealy few days. i saw it has only few buttons and i give up that 
btw, i have installed tons of addons in ff. so i think still chrome has not much addons
-
Mar 25th, 2009, 01:25 PM
#8
Re: Scrolling issue
Ok Fazi, I checked with Spy ++ and realised that FFox(class: MozillaUIWindowClass), IE(class: IEFrame) or Chrome (Class: Chrome_RenderWidgetHostHWND) do not support WM_VSCROLL as Notepad (class: Edit) does...
And this could be the reason that FF, IE or Chrome do not respond to WM_VSCROLL.... I could be wrong here
Edit: I found this webpage... Sounds promising but the code is in Visual C/C++
Last edited by Siddharth Rout; Mar 29th, 2009 at 04:37 AM.
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|