webGadget & Right Click Popup Menu

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by naw.

Can the Pop Up Menu (accessed via Right Click) in the Web Gadget be disabled?

Also is there a way to check (other than via Registry searches) if the correct version of IE is installed for the webGadget to work (I guess an error would be returned if IE5 is not installed, but what would it be?)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

> is there a way to check (other than via Registry searches) if the correct
> version of IE is installed for the webGadget to work

The WebGadget has its own built-in check, like so:

Code: Select all

If WebGadget(10, 0, 31, 0, 0, "[url]http://www.purebasic.com[/url]") = 0
  ; Failed due to wrong or missing version of IE.
Else
  ; All is okay, and the URL will load.
EndIf
(BTW, my 700th post -- woohoo!).


PB - Registered PureBasic Coder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Exactly.

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fweil.

OK I checked with my WS using IE 5.5, ATL.dll in the Compiler folder and it does not work with me !

I have a 0 returned by WebGadget.

Francois Weil
14, rue Douer
F64100 Bayonne
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

The WebGadget() doesn't work for you or always returns 0 ?

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fweil.

It replies 0 ... this is what I meant !

Francois Weil
14, rue Douer
F64100 Bayonne
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fweil.

Fred,

Works fine now ... I was probably tired yesterday.

Nice add to PB that I will use often.

Rgrds



Francois Weil
14, rue Douer
F64100 Bayonne
Post Reply