Pelles C forum

General => Chit-Chat => Topic started by: mity on May 24, 2016, 03:38:31 pm

Title: Re: mCtrl as grid control
Post by: mity on May 24, 2016, 03:38:31 pm
You may also take a look on the grid control from the mCtrl (http://mctrl.org) project.

The grid uses WORD for both vertical and horizontal coordinates with few reserved values so supported counts of rows and columns are somethign like (2^16 - few). It does support label editing, custom drawing (more powerful then owner drawing), multiple cell selection modes.

mCtrl is licensed under GNU LGPL and its sources are available on github.
Title: Re: Re: mCtrl as grid control
Post by: jcfuller on June 01, 2016, 01:57:53 pm
You may also take a look on the grid control from the mCtrl (http://mctrl.org) project.

The grid uses WORD for both vertical and horizontal coordinates with few reserved values so supported counts of rows and columns are somethign like (2^16 - few). It does support label editing, custom drawing (more powerful then owner drawing), multiple cell selection modes.

mCtrl is licensed under GNU LGPL and its sources are available on github.
I was not able to get mcGrid(64) to work  with PellesC, Visual Studio community 2015,  Nuwen, or TDM-GCC-64 on Win 10 .
mcGrid_Initialize() returns false.

James
Title: Re: Re: mCtrl as grid control
Post by: TimoVJL on June 01, 2016, 03:10:13 pm
mCtrl example-grid x64 works in my Windows 10.
Title: Re: Re: mCtrl as grid control
Post by: JohnF on June 01, 2016, 05:41:02 pm
That looks a very nice library indeed.

John
 
Title: Re: Re: mCtrl as grid control
Post by: jcfuller on June 01, 2016, 10:59:21 pm
I figured it out. I needed a resource with compatibility and/or Common-Controls entry.
I was getting a failure on mcGrid_Initialize() without it.

James
Title: Re: Re: mCtrl as grid control
Post by: mity on June 10, 2016, 07:02:12 pm
Quote
I was not able to get mcGrid(64) to work  with PellesC, Visual Studio community 2015,  Nuwen, or TDM-GCC-64 on Win 10 .
mcGrid_Initialize() returns false.

Fixed in the upstream.
https://github.com/mity/mctrl/commit/61ae0ca68be463ac76d1f0a5892e72ee3cd4fe42

Please if you encounter any other issues with mCtrl, report to them via e-mail or create issue at github. It's just luck I have found the report here.
Title: Re: Re: mCtrl as grid control
Post by: DHillard on June 10, 2016, 11:01:31 pm
Mity,

I would have been awesome if you would have started your own thread, instead of using this one.  Now there are two conversations going on in here about two entirely different controls.

David
Title: Re: Re: mCtrl as grid control
Post by: mity on June 11, 2016, 08:48:03 am
Mity,

I would have been awesome if you would have started your own thread, instead of using this one.  Now there are two conversations going on in here about two entirely different controls.

David

You are right. Sorry.
Title: Re: Re: mCtrl as grid control
Post by: frankie on June 11, 2016, 04:16:47 pm
If everybody agree I can split this topic starting from this (http://forum.pellesc.de/index.php?topic=6856.msg26317#msg26317) point in another thread in Chit-Chat or General discussion (which you prefer?).
Title: Re: Re: mCtrl as grid control
Post by: jcfuller on June 11, 2016, 06:20:57 pm
sounds good to me.

James