Click here to Skip to main content
15,913,587 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating a completely unclickable WebBrowser Pin
SimpleData24-Jul-09 4:13
SimpleData24-Jul-09 4:13 
AnswerRe: Creating a completely unclickable WebBrowser Pin
Eddy Vluggen24-Jul-09 4:09
professionalEddy Vluggen24-Jul-09 4:09 
GeneralRe: Creating a completely unclickable WebBrowser Pin
SimpleData24-Jul-09 4:11
SimpleData24-Jul-09 4:11 
GeneralRe: Creating a completely unclickable WebBrowser Pin
Eddy Vluggen24-Jul-09 4:20
professionalEddy Vluggen24-Jul-09 4:20 
GeneralRe: Creating a completely unclickable WebBrowser Pin
SimpleData24-Jul-09 4:29
SimpleData24-Jul-09 4:29 
GeneralRe: Creating a completely unclickable WebBrowser Pin
musefan24-Jul-09 4:47
musefan24-Jul-09 4:47 
GeneralRe: Creating a completely unclickable WebBrowser Pin
Eddy Vluggen24-Jul-09 5:57
professionalEddy Vluggen24-Jul-09 5:57 
AnswerRe: Creating a completely unclickable WebBrowser Pin
BillWoodruff24-Jul-09 5:14
professionalBillWoodruff24-Jul-09 5:14 
Hi SimpleData,

I think we're kind of "dancing" around here trying to guess what you are doing, but it seems to me that if your usage scenario is this :

1. I want a PictureBox, and under certain conditions I want a WebBrowser

Then why not write dynamic code so that when the right conditions are met you take the default control you are showing (either PictureBox or WebBrowser) and replace it with the other control.

You could pre-configure a WebBrowser, and hide it until required at run-time and then, when you make it visible, hide the PictureBox, or you could create a new WebBrowser on the fly, on-demand.

Why use a "heavy weapon" like a WebBrowser until you need it ?

If you've really got to make an un-clickable WebBrowser, use the very common JavaScript snippets that disable the click event and disable the context menu, etc.

best, Bill

"Many : not conversant with mathematical studies, imagine that because it [the Analytical Engine] is to give results in numerical notation, its processes must consequently be arithmetical, numerical, rather than algebraical and analytical. This is an error. The engine can arrange and combine numerical quantities as if they were letters or any other general symbols; and it fact it might bring out its results in algebraical notation, were provisions made accordingly." Ada, Countess Lovelace, 1844

QuestionMCI Video Playback - How to get MPEG-4 to work Pin
shultas24-Jul-09 3:22
shultas24-Jul-09 3:22 
Questiontimer control in C# Pin
wasifmuneer24-Jul-09 2:59
wasifmuneer24-Jul-09 2:59 
AnswerRe: timer control in C# Pin
Manas Bhardwaj24-Jul-09 3:03
professionalManas Bhardwaj24-Jul-09 3:03 
GeneralRe: timer control in C# Pin
wasifmuneer24-Jul-09 3:05
wasifmuneer24-Jul-09 3:05 
GeneralRe: timer control in C# Pin
Manas Bhardwaj24-Jul-09 3:09
professionalManas Bhardwaj24-Jul-09 3:09 
GeneralRe: timer control in C# Pin
wasifmuneer24-Jul-09 3:10
wasifmuneer24-Jul-09 3:10 
QuestionCopy text to clipboard Pin
jaro1624-Jul-09 2:00
jaro1624-Jul-09 2:00 
AnswerRe: Copy text to clipboard Pin
Abhijit Jana24-Jul-09 2:05
professionalAbhijit Jana24-Jul-09 2:05 
AnswerRe: Copy text to clipboard [modified] Pin
musefan24-Jul-09 2:11
musefan24-Jul-09 2:11 
AnswerRe: Copy text to clipboard Pin
Luc Pattyn24-Jul-09 4:07
sitebuilderLuc Pattyn24-Jul-09 4:07 
GeneralRe: Copy text to clipboard Pin
jaro1624-Jul-09 6:03
jaro1624-Jul-09 6:03 
Questiongetting timeout expired error Pin
venu65624-Jul-09 1:49
venu65624-Jul-09 1:49 
RantRe: getting timeout expired error Pin
musefan24-Jul-09 2:08
musefan24-Jul-09 2:08 
AnswerRe: getting timeout expired error Pin
MumbleB24-Jul-09 2:46
MumbleB24-Jul-09 2:46 
AnswerRe: getting timeout expired error Pin
Dave Kreskowiak24-Jul-09 4:08
mveDave Kreskowiak24-Jul-09 4:08 
Answer1 lac = 100,000 : Re: getting timeout expired error Pin
BillWoodruff24-Jul-09 5:19
professionalBillWoodruff24-Jul-09 5:19 
QuestionInresponsive program during an Active Directory search. Pin
Hardus Lombaard24-Jul-09 1:42
Hardus Lombaard24-Jul-09 1:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.