NO

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

Offline mity

  • Member
  • *
  • Posts: 4
Re: mCtrl as grid control
« on: May 24, 2016, 02: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: 35
Re: Re: mCtrl as grid control
« Reply #1 on: June 01, 2016, 12: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: 1539
Re: Re: mCtrl as grid control
« Reply #2 on: June 01, 2016, 02:10:13 PM »
mCtrl example-grid x64 works in my Windows 10.
« Last Edit: June 01, 2016, 02:11:50 PM by TimoVJL »
May the source be with you

Offline JohnF

  • Member
  • *
  • Posts: 1114
    • http://www.johnfindlay.plus.com/
Re: Re: mCtrl as grid control
« Reply #3 on: June 01, 2016, 04:41:02 PM »
That looks a very nice library indeed.

John
 

Offline jcfuller

  • Member
  • *
  • Posts: 35
Re: Re: mCtrl as grid control
« Reply #4 on: June 01, 2016, 09: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

Offline mity

  • Member
  • *
  • Posts: 4
Re: Re: mCtrl as grid control
« Reply #5 on: June 10, 2016, 06: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.

Offline DHillard

  • Member
  • *
  • Posts: 4
Re: Re: mCtrl as grid control
« Reply #6 on: June 10, 2016, 10: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

Offline mity

  • Member
  • *
  • Posts: 4
Re: Re: mCtrl as grid control
« Reply #7 on: June 11, 2016, 07: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: 1561
Re: Re: mCtrl as grid control
« Reply #8 on: June 11, 2016, 03: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?).

Offline jcfuller

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

James