News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

Re: mCtrl as grid control

Started by mity, May 24, 2016, 03:38:31 PM

Previous topic - Next topic

mity

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.

jcfuller

Quote from: 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.
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

TimoVJL

#2
mCtrl example-grid x64 works in my Windows 10.
May the source be with you

JohnF

That looks a very nice library indeed.

John

jcfuller

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

mity

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.

DHillard

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

mity

Quote from: 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

You are right. Sorry.

frankie

If everybody agree I can split this topic starting from this point in another thread in Chit-Chat or General discussion (which you prefer?).
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide

jcfuller