|
|
|
|
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 |
|
Johannes Schwenk
|
Aug 4, 2008 - 12:01 PM
|
Hi, I`m using the Grid class from the Ado Recordset Edit example in my VC++ 8. Now i have the following Problems: 1) I can not really select cells. It seems to be not a problem of the styles, the "select" event seems to do somethinh wrong: When I have a cell with a checkbox style, and I change the status of the checkbox, my cell is selected (changes it’s color to selected color, select arrow is shown on the left outer column). But when I click on the cell without changing the checkbox status, or when my cell does not have a checkbox but a text, than nothing happens. Can you tell me what is wrong? 2) I want to change the color of the whole row, when one of the cells is selected. In my last post, I got the answer that I have to overide the CExtGridWnd::OnGbwAnalyzeCellMouseClickEvent() function, and set the backcolor of the cells in the actual row. But how can I get the number of the actual row with the CPoint Value the functions gets? Thanks for your Help, Johannes Schwenk
|
|