forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Cant Focus SURFX.DLL browser - need to focus its scrollbar..

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Oct 01, 2007 12:44 am    Post subject: Cant Focus SURFX.DLL browser - need to focus its scrollbar.. Reply with quote

This may be something simple, but I searched the forum extensivly.

Cant Focus the SURFX.DLL browser area where the webpages load in.

SURFX open,browsebox,%%url <~~ the browser box

PROBLEM:
Cant move the scrollbars with arrow keys, but mouse will drag them.
I need to be able to move the scrollbar(s) in my program also.

REASON:
A person accidently drags the view area out of view during a (timed)game which ruins the outcome of the game.

So if I could set focus to one of the scrollbars, then I could WindowSEND@KEY(LEFT) several times or even better yet a API to move the scrollbars would be great.

Thanks
Back to top
View user's profile Send private message Visit poster's website
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Oct 01, 2007 12:55 am    Post subject: Reply with quote

I forgot I found these on the forum, maybe someone knows how to write them faster than I could.

Code:
//Scroll bar control//
SBM_ENABLE_ARROWS      0x00E4 // Not in win3.1
SBM_GETPOS                    0x00E1 // Not in win3.1
SBM_GETRANGE                0x00E3 // Not in win3.1
SBM_GETSCROLLINFO        0x00EA
SBM_SETPOS                     0x00E0 // Not in win3.1
SBM_SETRANGE                 0x00E2 // Not in win3.1
SBM_SETRANGEREDRAW    0x00E6 // Not in win3.1
SBM_SETSCROLLINFO        0x00E9


Below is an example of adding a scrollbar, I just need to edit it to do all the above things would be great.

Code:
The last 4 digits are normally used in the @sendmsg() function with
a preceding "$". Here's an example for adding a horizontal scroll bar
to a list box ("LB_SETHORIZONTALEXTENT", message# is "0x0194",
"L1" is the list box name):

%z = @sendmsg(@winexists(~L1),$0194,2000,0)


Thanks for reading,,,
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group