Pelles C forum,
I have published a message based grid control that improves upon the BABYGRID concept.
Here are some screen shots.
(http://www.codeproject.com/KB/grid/681771/Figure1.png)
Figure 1 Original Baby Grid Demo
(http://www.codeproject.com/KB/grid/681771/Figure2.png)
Figure2 New Columns
It can be found with accompanying article (a usage referance) at the code project.
Simple Grid - A Win32 message based grid control (http://www.codeproject.com/Articles/681771/Simple-Grid-A-Win32-message-based-grid-control)
Regards,
DMac
Nice, header style options would be nice too. (EDGE_ETCHED, EDGE_RAISED, ..)
Just posted a bug fix to the Simple Grid.
Regards,
DMac
Hello All,
I fixed some issues that could potentially have caused problems when compiled to X64. New update now available on Code Project.
Regards,
DMAC
Hello David,
I tried to recompile your demo with the external DLL SimpleGrid.DLL that you provide to me (in April 2016) with this link :
http://www.codeproject.com/script/Membership/Uploads/1704161/SimpleGridDLL.zip
I didn't get exactly the same result than with your demo.exe as you can see on the screenshots below:
- On the left side, your original demo.
- On the right side, your demo running with the external DLL
I'm probably missing something, but I don't know what.
Thanks for your help.
Jean-Pierre
David,
Here is your modified demo project in order to use the external DLL SimpleGrid.dll
What I have done :
1. Removing SimpleGrid.c from the projetc
2. Adding SimpleGrid.dll and SimpleGrid.lib in the project folder
3. Adding this line in main.c
#pragma comment(lib, "SimpleGrid.lib")
Regards,
Jean-Pierre
Problem fixed. The SimpleGrid.dll was not compile with the #define Unicode
#define UNICODE
#define _UNICODE
Now it works perfectly.
Below the updated SimpleGrid_demoWithDLL project.