NO

Author Topic: Re: mCtrl as grid control  (Read 6782 times)

mity

  • Guest
Re: mCtrl as grid control
« 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.

Offline jcfuller

  • Member
  • *
  • Posts: 36
Re: Re: mCtrl as grid control
« Reply #1 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

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: Re: mCtrl as grid control
« Reply #2 on: June 01, 2016, 03:10:13 PM »
mCtrl example-grid x64 works in my Windows 10.
« Last Edit: June 01, 2016, 03:11:50 PM by TimoVJL »
May the source be with you

JohnF

  • Guest
Re: Re: mCtrl as grid control
« Reply #3 on: June 01, 2016, 05:41:02 PM »
That looks a very nice library indeed.

John
 

Offline jcfuller

  • Member
  • *
  • Posts: 36
Re: Re: mCtrl as grid control
« Reply #4 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

mity

  • Guest
Re: Re: mCtrl as grid control
« Reply #5 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.

DHillard

  • Guest
Re: Re: mCtrl as grid control
« Reply #6 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

mity

  • Guest
Re: Re: mCtrl as grid control
« Reply #7 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.

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2096
Re: Re: mCtrl as grid control
« Reply #8 on: June 11, 2016, 04:16:47 PM »
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

Offline jcfuller

  • Member
  • *
  • Posts: 36
Re: Re: mCtrl as grid control
« Reply #9 on: June 11, 2016, 06:20:57 PM »
sounds good to me.

James