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 


Disable Right Click

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


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Sun Mar 20, 2005 3:36 pm    Post subject: Disable Right Click Reply with quote

Is there a way to disable right click on the VDS Browser?


Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Sun Mar 20, 2005 4:26 pm    Post subject: Reply with quote

Hi Nathan,

Please see my previous post:

http://forum.vdsworld.com/viewtopic.php?t=3142&highlight=right+click

Cheers,

- Boo
Back to top
View user's profile Send private message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Mon Mar 21, 2005 8:50 am    Post subject: Reply with quote

I tried that, but you can not left click when the anicon is shown.

And the registry entry does not work for the VDS Browser, it does work however for Internet Explorer..


Any ideas?

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Mon Mar 21, 2005 1:45 pm    Post subject: Reply with quote

If you use the IETWEAKS2 demo that comes with VDSSURFX, you will be able to disable the right-click on the IE shell, but it will also disable it for all IE instances. Its a general effect.

Anyway dont know if its that you want. Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Boo
Valued Contributor
Valued Contributor


Joined: 31 Oct 2003
Posts: 599
Location: Gulf Breeze, Florida USA

PostPosted: Mon Mar 21, 2005 8:09 pm    Post subject: Reply with quote

Hi Rubes_sw,

Here is one way to do it (using the VDS Browser) utilizing browser enable/disable:

Code:
title VDS Explorer
#DEFINE COMMAND,BROWSER
#DEFINE FUNCTION,BROWSER
external vdsbrw50
DIALOG CREATE,VDS Explorer,-1,0,600,650,SAVEPOS,CLASS VDSBrowser
dialog add,line,line1,120,4,591,468
DIALOG ADD,BROWSER,Browser1,120,4,591,468,http://www.yahoo.com,,OFFLINE
dialog disable,browser1
LOADLIB user32.dll 
%%VK_RBUTTON = $02
%%VK_LBUTTON = $01
DIALOG SHOW
:evloop
wait event,.0001
%E = @event()
if @not(@null(%E))
goto %E
end
goto evloop
:close
freelib user32
exit
:timer
%%line = @winexists(~line1)
if @equal(@winatpoint(@mousepos(X),@mousepos(Y)),%%line)
%%LButton = @LIB(user32,GetAsyncKeyState,INT:,%%VK_LBUTTON)
%%LButton = @LIB(user32,GetAsyncKeyState,INT:,%%VK_LBUTTON)
if @not(@equal(%%LButton,0))
dialog enable,browser1
%X = @diff(@mousepos(X),@winpos(VDS Explorer,L))
%Y = @diff(@mousepos(Y),@winpos(VDS Explorer,T))
rem option skdelay,30
repeat
%%LButton = @LIB(user32,GetAsyncKeyState,INT:,%%VK_LBUTTON)
until @equal(%%LButton,0)
window click,VDS Explorer,%X,%Y
window click,VDS Explorer,%X,%Y
dialog disable,browser1
end
end
%%LButton = @LIB(user32,GetAsyncKeyState,INT:,%%VK_LBUTTON)
goto evloop


There might be a more creative way to do this, but this comes to mind. Also, whereas the above example works, the "Hand" icon will not appear while moving the mouse pointer over a link.

Cheers,

- Boo
Back to top
View user's profile Send private message
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