Posted 10 July 2023, 3:06 am EST
Hi.
I am trying to use VsFlexGrid in VC2019 (VC++).
It is a great control, but I have one question.
When drawing the contents of a cell in the DrawCell event, the HDC is passed as a long.
There is no problem if it is a 32-bit application, but in a 64-bit application, the HDC address cannot be obtained correctly.
How can I get it correctly?
Thanks.