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