borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (attachEvent to Scriplet in vb6?)Next Topic (File Xfer & Bandwith Throttling w/ Winsock) New Topic New Poll Post Reply
AndreaVB Forum : Internet Applications : Webbrowser control properties
Poster Message
dsnook
Level: Guest


icon Webbrowser control properties

Hi,

I would like to know if it is possible to:
1- change the background color of a webbrowser control
2- manage a "mousedown" event on this control in order
to display my own popup menu

Webbrowser control doesn't directly offers these properties
and event, maybe this can be manage with windows API???

thanks
Daniel

02-06-2003 at 01:11 PM
| Quote Reply
fabulous
Level: VB Guru


Registered: 03-08-2002
Posts: 439
icon Re: Webbrowser control properties

I am away from my computer right now and am in an email cafe and I haven't tried this, but I think that if you try to subclass the control, you could find a way to work around the limitations. I will try this when I get back in the office and update you it is possible.

____________________________
My boss is a Jewish Carpenter (Jesus Christ)


Brain Bench Certified VB.NET Developer

02-06-2003 at 01:44 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
dsnook
Level: Guest

icon Re: Webbrowser control properties

thanks, I will have a look too.
Daniel

02-06-2003 at 02:03 PM
| Quote Reply
dsnook
Level: Guest

icon Re: Webbrowser control properties

Subclassing the webbrowser control does work! I can
now set my own popup menu... but this trick only works when I browse a http file.
When I set the URL to a local path of my computer in order
to browse the folders contents the Windows menus come back...

Daniel

02-06-2003 at 03:17 PM
| Quote Reply
AndreaVB Forum : Internet Applications : Webbrowser control properties
Previous Topic (attachEvent to Scriplet in vb6?)Next Topic (File Xfer & Bandwith Throttling w/ Winsock) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder