Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Offer Har
|
Mar 28, 2007 - 9:30 AM
|
Dear Support,
I have a cell that has an icon. When the user double click it, I want to open a dialog if the user pressed the icon, or if the cell is not editable, but if the user double-click the text, I want it to go into normal edit mode, and I don’t want the dialog to be opened, as the user goes into the cell’s edit mode.
I override the OnClick , check if nRepCnt is 2 for double-click, but i have no clue if the cell is about to go into in-place edit or not. How can I know this?
Thanks, Ron.
|
|
Technical Support
|
Mar 30, 2007 - 12:29 PM
|
You can use the CExtGridWnd::GridCellRectsGet() method that gets the location of the grid cell and its parts. The location is specified in pixels relative to the grid window’s client area.
|
|