Hi all
This is my attemt to make an advanced, yet easy to use custom grid control.
Full sources and 7 demos included.
KetilO
09-29-2003, 15 dl, Fixed a few bugs.
10-02-2003, 23 dl, Added more styles. Uses bitRAKE's QuickSort to sort columns.
10-04-2003, 19 dl, Added mouse wheel support.
10-12-2003, 29 dl, Fixed combobox bug. Added GM_CELLCONVERT message.
10-18-2003, 26 dl, Fixed a bug where columnheader text was lost on GM_RESETCONTENT.
10-21-2003, 18 dl, Added GM_RESETCOLUMNS. Added demo showing how to connect to access database.
11-03-2003, 42 dl, Fixed a button column paint bug.
11-13-2003, 48 dl, Fixed a bug where row and col was not set in notification messages.
11-21-2003, 19 dl, Also made a library of RAGrid and a demo on how to use the library.
02-20-2004, 156 dl, Fixed bugs. Added pictures in grid demo.
05-12-2004, 61 dl, Added row back and text colors.
06-02-2004, 55 dl, Fixed a bug that could cause a GPF when adding long integer cell.
06-05-2004, 8 dl, Speed optimized sorting. Added WM_COMPAREITEM to sort columns containing TYPE_USER data.
06-17-2004, 40 dl, Updated ODBC example to include add, delete and update.
This is my attemt to make an advanced, yet easy to use custom grid control.
Full sources and 7 demos included.
KetilO
09-29-2003, 15 dl, Fixed a few bugs.
10-02-2003, 23 dl, Added more styles. Uses bitRAKE's QuickSort to sort columns.
10-04-2003, 19 dl, Added mouse wheel support.
10-12-2003, 29 dl, Fixed combobox bug. Added GM_CELLCONVERT message.
10-18-2003, 26 dl, Fixed a bug where columnheader text was lost on GM_RESETCONTENT.
10-21-2003, 18 dl, Added GM_RESETCOLUMNS. Added demo showing how to connect to access database.
11-03-2003, 42 dl, Fixed a button column paint bug.
11-13-2003, 48 dl, Fixed a bug where row and col was not set in notification messages.
11-21-2003, 19 dl, Also made a library of RAGrid and a demo on how to use the library.
02-20-2004, 156 dl, Fixed bugs. Added pictures in grid demo.
05-12-2004, 61 dl, Added row back and text colors.
06-02-2004, 55 dl, Fixed a bug that could cause a GPF when adding long integer cell.
06-05-2004, 8 dl, Speed optimized sorting. Added WM_COMPAREITEM to sort columns containing TYPE_USER data.
06-17-2004, 40 dl, Updated ODBC example to include add, delete and update.
:alright: great stuff
very good job!
any document on how to use the DLL?
any document on how to use the DLL?
only GetDef is exported from DLL?
:stupid:
:stupid:
Hi optimus
The only documentation for now is in RAGrid.inc and the demos.
KetilO
The only documentation for now is in RAGrid.inc and the demos.
KetilO
Hi Azrim
Yes, and that function is only for RadASM so the grid can be used by the dialog editor.
The window class is created when the dll is loaded, and all communications with the grid control is done with messages to the grid window and notifications from the grid to the parent of the grid.
Just as any other windows control.
KetilO
only GetDef is exported from DLL?
Yes, and that function is only for RadASM so the grid can be used by the dialog editor.
The window class is created when the dll is loaded, and all communications with the grid control is done with messages to the grid window and notifications from the grid to the parent of the grid.
Just as any other windows control.
KetilO
Amazing :eek:
Thanks
Thanks
how to define the parent window of RAGrid then?
Hi Azrim
The window class is created when the dll is loaded, and all communications with the grid control is done with messages to the grid window and notifications from the grid to the parent of the grid.
Just as any other windows control.
KetilO
Hi Azrim
The window class is created when the dll is loaded, and all communications with the grid control is done with messages to the grid window and notifications from the grid to the parent of the grid.
Just as any other windows control.
KetilO
Hi optimus
Have a look at CreateWindowEx.
If you put it on a dialog, then the dialog is the parent.
If you are doing weird stuff, have a look at SetParent.
KetilO
Have a look at CreateWindowEx.
If you put it on a dialog, then the dialog is the parent.
If you are doing weird stuff, have a look at SetParent.
KetilO
Hi all
New upload at the top.
- Fixed memory unlock bug.
- Fixed ownerdraw bug. (Win98 strips off high words in a DRAWITEMSTRUCT)
KetilO
New upload at the top.
- Fixed memory unlock bug.
- Fixed ownerdraw bug. (Win98 strips off high words in a DRAWITEMSTRUCT)
KetilO
KetilO,
You da' Viking!
Thanks for this tool/gift!
farrier
You da' Viking!
Thanks for this tool/gift!
farrier
Hi all
New upload at the top.
- Added more styles. (Grid options)
- Uses bitRAKE's recursive QuickSort algo to sort columns.
KetilO
New upload at the top.
- Added more styles. (Grid options)
- Uses bitRAKE's recursive QuickSort algo to sort columns.
KetilO
Fantastic work!
Another gem! :alright:
Another gem! :alright:
As a suggestion, you should add mouse wheel support if its not alot of trouble ;)
Hi NaN
No trouble at all.
KetilO
No trouble at all.
KetilO
Hi all
New upload at the top.
- Added mouse wheel support.
KetilO
New upload at the top.
- Added mouse wheel support.
KetilO
Again, I just have to stress how deeply impressed I am with this control.
This is *very* good work KeltIO!
Thanks alot for sharing it freely with us ;)
:NaN:
This is *very* good work KeltIO!
Thanks alot for sharing it freely with us ;)
:NaN:
Hi Ketil
The more I work with this control, the more I like it!
I'm having a small problem right now because there is no example of how to set a check box checked from the program on an individual basis.
Please help.
The more I work with this control, the more I like it!
I'm having a small problem right now because there is no example of how to set a check box checked from the program on an individual basis.
Please help.
No problem, I figured it out.
The real problem was that I was trying to set a checkbox before I added the row containing the checkbox.
The real problem was that I was trying to set a checkbox before I added the row containing the checkbox.
Hi Ketil,
I think I might have found a problem.
This does not delete row 10. Rather, it causes the grid to scroll to the last row (row 99).
I think I might have found a problem.
invoke SendMessage,dword [edi+44],GM_DELROW,10,0
This does not delete row 10. Rather, it causes the grid to scroll to the last row (row 99).