Click here to Skip to main content
15,886,693 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello..friends...

how can i get the mouse click a tabFormControl1 object
..Double click on the blank area
thankyou
i need your help
any help is welcome Thanks very much...
PS. excuse my English...i only know a little English....

this.tabFormControl1.MouseDown += F_MouseDown;
//here the click... it can click the pagetab..
//i don't  want it click the tabtitle

if (e.X == 8 && e.Y == 9)
            {
                //click the tabtitle right : on the blank area
                //i can do something
                // such as  i can change the form :
                this.WindowState = FormWindowState.Maximized;
            }
            else
            {
                //is click the tab title... ...can do something
            }



how can i know the mouse click a tabFormControl1 object on the blank area (right)

What I have tried:

search no result...and try it
Posted
Updated 9-Jul-18 23:57pm
v2
Comments
Kornfeld Eliyahu Peter 10-Jul-18 6:23am    
You probably can't unless the 'blank area' is a control itself and expose events...
If you have a way to tell where is the 'blank area' inside the control you may get answers from the cursor position during the event...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900