NO

Author Topic: Simple Grid - A Win32 message based grid control  (Read 2252 times)

Offline DMac

  • Member
  • *
  • Posts: 244
Simple Grid - A Win32 message based grid control
« on: November 13, 2013, 01:03:07 AM »
Pelles C forum,

I have published a message based grid control that improves upon the BABYGRID concept.

Here are some screen shots.


Figure 1 Original Baby Grid Demo


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

Regards,
DMac
No one cares how much you know,
until they know how much you care.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1555
Re: Simple Grid - A Win32 message based grid control
« Reply #1 on: November 14, 2013, 08:30:19 AM »
Nice, header style options would be nice too. (EDGE_ETCHED, EDGE_RAISED, ..)
May the source be with you

Offline DMac

  • Member
  • *
  • Posts: 244
Re: Simple Grid - A Win32 message based grid control
« Reply #2 on: November 15, 2013, 08:47:32 PM »
Just posted a bug fix to the Simple Grid.

Regards,
DMac
No one cares how much you know,
until they know how much you care.

Offline DMac

  • Member
  • *
  • Posts: 244
Re: Simple Grid - A Win32 message based grid control
« Reply #3 on: November 16, 2013, 07:11:27 PM »
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
No one cares how much you know,
until they know how much you care.

Offline Jean-Pierre Leroy

  • Member
  • *
  • Posts: 5
Re: Simple Grid - A Win32 message based grid control
« Reply #4 on: October 31, 2016, 07:34:04 PM »
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
« Last Edit: November 01, 2016, 07:37:26 AM by Jean-Pierre Leroy »

Offline Jean-Pierre Leroy

  • Member
  • *
  • Posts: 5
Re: Simple Grid - A Win32 message based grid control
« Reply #5 on: October 31, 2016, 07:37:00 PM »
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
Code: [Select]
#pragma comment(lib, "SimpleGrid.lib")

Regards,
Jean-Pierre
« Last Edit: November 01, 2016, 07:44:18 AM by Jean-Pierre Leroy »

Offline Jean-Pierre Leroy

  • Member
  • *
  • Posts: 5
Re: Simple Grid - A Win32 message based grid control
« Reply #6 on: November 01, 2016, 08:12:35 AM »
Problem fixed. The SimpleGrid.dll was not compile with the #define Unicode

Code: [Select]
#define UNICODE
#define _UNICODE

Now it works perfectly.
Below the updated SimpleGrid_demoWithDLL project.