Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# pass mouse events to parent

//Create a control inherited from Label and add the following code.
protected override void WndProc(ref Message m)
{
    const int WM_NCHITTEST = 0x0084;
    const int HTTRANSPARENT = (-1);

    if (m.Msg == WM_NCHITTEST)
    {
        m.Result = (IntPtr)HTTRANSPARENT;
    }
    else
    {
        base.WndProc(ref m);
    }
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: export2excel with logo and header and many table on one click stackoverflow 
Csharp :: C# program to find the longest Palindrome in a string. 
Csharp :: generate random string 
Html :: html rupee symbol 
Html :: qs cdn 
Html :: font-awesome envelope 
Html :: ion-item remove bottom line 
Html :: text-bold bootstrap 
Html :: leading spaces html 
Html :: how to make a whatsapp hyperlink html 
Html :: how to stop download option in video tag of HTML 
Html :: html text not markable 
Html :: Javascript getelementbyid hide element 
Html :: html disable enter submit 
Html :: target _blank 
Html :: how to show iframe in full width 
Html :: angular click stop propagation 
Html :: Wrap the last word of a paragraph in span tags using jQuery 
Html :: regex to remove html tags python 
Html :: script src tag in html 
Html :: html skype chat link 
Html :: meta theme color 
Html :: how to add icon to custom page tab 
Html :: html option 
Html :: HTML Links - Hyperlinks 
Html :: *ngFor index 
Html :: password pattern html regex 
Html :: bootstrap responsive meta tag 
Html :: linked image html 
Html :: how to read a form from HTML in javascript 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =