How to trace Right Click on DataGrid
-
Hi..All Please give me Hint How to capture right click on datagrid control... Actully I want to set a popup menu at right click of Datagrid..please please give me any hint... there is no event given to check right click... Thanks..OK! Good Bye:) ---Sumit Kapoor--- sumit_kapoor1980@hotmail.com
-
Hi..All Please give me Hint How to capture right click on datagrid control... Actully I want to set a popup menu at right click of Datagrid..please please give me any hint... there is no event given to check right click... Thanks..OK! Good Bye:) ---Sumit Kapoor--- sumit_kapoor1980@hotmail.com
Add a handler for the MouseDown. In the parameter list, you will have the button wich is pressed (left=1 right=2).
-
Add a handler for the MouseDown. In the parameter list, you will have the button wich is pressed (left=1 right=2).
Hi..Thanks for reply... But there is no event for mouse down...this is not as other control in mfc..i'm not getting its full event list..as limited events are provided... please help me...if u know Thanks ---Sumit Kapoor---
-
Hi..Thanks for reply... But there is no event for mouse down...this is not as other control in mfc..i'm not getting its full event list..as limited events are provided... please help me...if u know Thanks ---Sumit Kapoor---
Is it the Microsoft FlexGrid control you are using ?? If so there is a message for mousedown event. If you are using something else, I cannot help you (I don't know all the things you can do with the control)
-
Is it the Microsoft FlexGrid control you are using ?? If so there is a message for mousedown event. If you are using something else, I cannot help you (I don't know all the things you can do with the control)
I'm using DataGrid Control..as I've to use data editing in grid that save automatically as user change that data... so I think that I cann't do in flex grid... Give me any idea..Dear.. Thanks again.I'm waiting for reply...Bye ---Sumit Kapoor--- sumit_kapoor1980@hotmail.com
-
I'm using DataGrid Control..as I've to use data editing in grid that save automatically as user change that data... so I think that I cann't do in flex grid... Give me any idea..Dear.. Thanks again.I'm waiting for reply...Bye ---Sumit Kapoor--- sumit_kapoor1980@hotmail.com
I'm not sure on what your working on, but maybe you can add the handler manually. (if you get an error just try to adapt the message handler a little. ==> copy/paste in your .h file) (not pretty, but if all else fails...) If you can detect your mouse pressing in the control where your datagrid is in, maybe you can get the coördinates and try that way? Just ideas, don't have the answer myself. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimmy Hendrix
-
I'm not sure on what your working on, but maybe you can add the handler manually. (if you get an error just try to adapt the message handler a little. ==> copy/paste in your .h file) (not pretty, but if all else fails...) If you can detect your mouse pressing in the control where your datagrid is in, maybe you can get the coördinates and try that way? Just ideas, don't have the answer myself. "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimmy Hendrix
Hi..Jimmy, Thanks For Hint..I got my solution... Have a Great Life..Bye:-O ---Sumit Kapoor--- sumit_kapoor1980@hotmail.com
-
Is it the Microsoft FlexGrid control you are using ?? If so there is a message for mousedown event. If you are using something else, I cannot help you (I don't know all the things you can do with the control)
Hi...cedric Thanks For Hint..I got my solution... Have a Great Life..Bye:-O ---Sumit Kapoor--- sumit_kapoor1980@hotmail.com