Added an additional creation flag (a further styles creation flag), namely : #egrid_RemoveBordersFromSelectedCells. With this flag set, the borders\gridlines from any cells selected by the user (or from code) will temporarily be removed. This is useful for those grids utilising custom borders in which the natural border added to the rectangle enclosing the selected cells can 'clash' with the custom borders etc.
Massively refined the operation of #egrid_String type cells. In the past, if the cell height was significantly larger than the hidden edit control used to edit the cell, then this would effect not only the cursor displayed but also mouse clicks. For example, clicking into a part of the cell not occupied by the hidden edit control would have no effect (i.e. the caret would not be displayed). This has been fixed and string type cells now behave as if the hidden edit control fills the entire cell. This is a vast improvement.
Refined the operation of command button cells so that they completely mimic standard command buttons in terms of mouse messages etc. This means that the #egrid_CellButtonClick message fires only if the user releases the mouse when the cursor is over the button (having already depressed the left mouse button whilst the cursor is over the button).
Fixed major issues related to dynamic resizing of columns whilst dynamically resizing an EsGRID.
Fixed some bugs arising from the recent major updates.
Introduced a whole heap of new bugs!
Regards.
I may look like a mule, but I'm not a complete ass.
This update (bugs withstanding) brings EsGRID's refinement levels back in line with it's features etc.
I don't think I will add any more features to EsGRID as I reckon I've squeezed every ounce of functionality out of a Window's list view control as is humanly possible. Any more and I reckon it will pack it's bags and leave!
Instead, mostly just bug fixes from now on. I reckon this grid already offers as much as most people will ever need from such a control.
I may look like a mule, but I'm not a complete ass.
srod wrote:I don't think I will add any more features to EsGRID as I reckon I've squeezed every ounce of functionality out of a Window's list view control as is humanly possible.
Every time you say that we get a new version or update :roll:
Karbon, I've just sent your reg code to your preferred e-mail address. My e-mail server does occasionally get blacklisted, so if you haven't received it within a few minutes let me know and I'll resend from Yahoo.
I may look like a mule, but I'm not a complete ass.
Update. EsGRID version 1.2.2
Version 1.2.2 of EsGRID fixes some bugs relating to the recent changes and also adds the following :
(note that the recent updates are being driven by a project which I'm currently working on, which I guess is a good thing! )
Replaced the recently added creation flag #egrid_NoComboBoxOutlines with #egrid_OwnerDrawnComboBoxes. This is because such combo boxes are now completely owner drawn. This was forced on me to eliminate a painting bug. Note that my advice is to use this flag for all combo box type cells as these owner-drawn versions are far more 'robust'. Indeed, I would remove the earlier versions if it wasn't for the fact that a lot of people are already using them!
Adjusted the Cellcallback message #egrid_ComboBoxSelChanged so that it now only fires if the actual text selection has changed.
Added a new creation 'further-styles' flag, namely: #egrid_ProhibitCellSelection which does exactly what it's name suggests!
Adjusted the #egrid_InsertChar callback message so that the *cellinfo parameter holds information on the insertion point within the edit control etc. It will also inform you which characters (if any) the user is attempting to overwrite with a newly entered character etc.
Fixed some bugs arising from the recent major updates.
Note that only the replacing of the creation flag mentioned above has the potential to break any existing code and then only in a very minor way.