Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Webbrowser

Status
Not open for further replies.

capone67

Programmer
Nov 6, 2000
115
CA
I am working on a project where I want to use a MS webbrowser control to display some content. I want to intercept any clicks on the borwser but I can't seem to find that event in the drop down list of events. Does anyone know of another webbrowser control I can use or a way to intercept the clicks? There are no clickable links in the web page that I want to display.

TIA

Ken
 
I have figured out that I can accomplish my task by placing a transparent control overtop of the webbrowser window. I tried placing a Lable control overtop of the webbrowser control but for some reasong the label ends up behind the web browser. How can I get the lable on top of the web browser instead of underneath it? Or is there another control that I can use that would be transparent that would sit on top of the web browser?

TIA

Ken
 
Try either using an image control and try clicking bring to front.
 
Labels can not "brought to Front" over non-graphical controls.
From ZORDER.

"Three graphical layers are associated with forms and containers. The back layer is the drawing space where the results of the graphics methods are displayed. Next is the middle layer where graphical objects and Label controls are displayed. The front layer is where all nongraphical controls like CommandButton, CheckBox, or ListBox are displayed. Anything contained in a layer closer to the front covers anything contained in the layer(s) behind it. ZOrder arranges objects only within the layer where the object is displayed."


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top