473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Adding WndProc override on inherited Web Browser WinForm control.

I need to be able to detect when the user clicks on the browser
control area. The control offers no Mouse events whatsoever. I have
tried to resort to override WndProc on the control, I have a break
point set where indicated in the code below which never gets called.

Any alternative methods or suggestions on why this isn't working?

protected override void WndProc(ref System.Windows.Forms.Message
m)
{
const int WM_LBUTTONUP = 0x0202;

if (m.Msg == WM_LBUTTONUP)
{
int test = 0; // I have a break point here

}

base.WndProc(ref m);
}

Sep 26 '07 #1
0 1464

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Joseph A. Curro, Jr. | last post by:
I am finding that I am unable to add an inherited Web user control using the Visual Studio .NET IDE. First, the option does not even appear on my Project menu. If I customize my IDE settings,...
0
by: Tom | last post by:
hi guys I am inheriting a toolbar winform control and I am simply setting the backcolor to transparent.. now I've created a new class and inherited it from toolbar. How do I compile this new...
3
by: cs | last post by:
I have been playing around with overriding the wndproc method on a winform. Now I am wondering, can you override the winproc method on any window even if they arent a .net widnow? I see some...
0
by: Lei Jiang | last post by:
I have a WinForm control embeded in a ASP.NET Web page. When the page started, the place to hold the control only displays a frame with a "X" at left-top corner. I don't know if there are some...
1
by: Moe | last post by:
I have a winForm control that contains an openFileDialog. I am using this control in a webForm by enbedding it using an <object> tag. I need to access some information about the file on the client....
0
by: terryrey | last post by:
Hi, I've got a winform control that is using Twain and which works fine in a windows application. I am now trying to get this hosted and running in IE6 for our intranet app but am running into...
1
by: Hercules Dev. | last post by:
hi all, I developed a winform control and succeeded in hosting it in my ASP.Net application, I used the default way which is installing my winform control in the same directory of my ASP.Net...
4
by: Rob | last post by:
I've constructed a user control inherited from ListView so I can handle and respond to scrolling events (to keep 2 listviews scrolling in sync). My user control includes an Overrides of WndProc...
2
by: BobLewiston | last post by:
Is there a way (perhaps via EventArgs) to signal the app when a user tries to enter out-of-range input into a WinForm control? (Specifically, a number in a NumericUpDown control numericUpDown1 that...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.