wxGrid, is there any way to get the DC?

Tony Kennedy <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
I've got a grid, and in the label, I've got something like

some text[a,b,c,d]

What I need to do is find the exact character a user clicks on when they 
click in a label cell.

I know I can do a hittest to get the exact point, but I cannot seem to find 
a way to get the wxDC of the grid so that I can use GetPartialTextExtents.

Does anyone know how to do this?

Thanks in advance,

Tony.

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/a2b9cfde-d607-4fd2-8c20-dd043a5626can%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.