|
Sample:
BOOL bModifyed = FALSE;<br />
<br />
CALXCellCtrl* pCellCtrl = GetCellCtrl(GetActiveCol(),GetActiveRow());<br />
<br />
if(pCellCtrl != NULL)<br />
bModifyed = pCellCtrl->IsModifyed();
|
|
|
|
|
It not suport in curent version.
|
|
|
|
|
ALXGrid Control is very good. But I want to get rect information (etc: cell size, rect size of cell),I cann't find calling function .huo to get rect information of cell
|
|
|
|
|
Width cell number i equal width head col number i.
iCellWidth = GetHeadColWidth(i);
Heigth all grid cell equal.
iCellHeight = GetGridRowHeight();
|
|
|
|
|
|
If to redefine functions GetCellData() and OnSaveCellData() that yes. It has no support of the built - in sources of the data.
|
|
|
|
|
I found, that CALXGrid doesn't work, then it haven't any cells. Grid try
to get active cell and cannot do it.
Ken Keray
|
|
|
|
|
If not define columns ? If used SetActiveCell() and cell out of range ?
|
|
|
|
|
If not define any columns
Ken Keray
|
|
|
|
|
What sense in a grid without columns? If the empty grid is necessary make a column of the zero size.
|
|
|
|
|
I mean, that you don't consider the case with no columns grid.
After window creation in view or ctrl you write something like this:
SetActiveCell(GetActiveCol(), GetActiveRow());
It's only one example, there are many cases like this
P.S.: Do you speak Russian? May be we may correspond in Russian?
Ken Keray
|
|
|
|
|
In what a problem? (Так в чем проблема ?)
P.S.: Yes I speak Russia.
|
|
|
|
|
I have same problem, when my program start with empty grids. Why "CMyGridCtrl::GetCellData(int nCol, int nRow)" is called at begin ? How have not active cell ?
(Note 1 : My program use many control derived from ALXGrid, in many page, in a Window derived from CPropertySheet.)
(Note 2 : This problem come when i use VC7 and ALXGrid version 1.3, not before.)
|
|
|
|
|
This is a create work. Many codes, many funcs.
Now I use it in my project, and have founded some troubles.
There are missing CALXGridCtrl::OnKeyDown().
How to set text to frozen cols?
Why do you use PostMessage() instead of SendMessage for edit control?
Ken Keray
|
|
|
|
|
Instead of OnKeyDown() it is used PreTranslateMessage() for interception VK_TAB , VK_RETURN and VK_ESC .
You can redefine draw function fo frozen cells OnDrawFrozenCell() .
SendMessage it is carried out immediately, for OnKeyDown() it is not necessary (recursion not necessary;)).
|
|
|
|
|
I don't sure, that key-navigation(left, right,..) working perfectly. And why recursion?
I mean to use SendMessage for parent of CALXCellCtrl (CALXGridCtrl).
I'll try to redefine OnDrawFrozenCell()fo sure! Tnanks
Ken Keray
|
|
|
|
|
> I don't sure, that key-navigation(left, right,..) working perfectly.
In what a problem ?
> And why recursion ?
SendMessage() causes function of processing of pressing of a key and it is caused from this function.
|
|
|
|
|
I'm impressed! I was looking for something like this couple months ago. Unfortunately, didn't meat your article
Thanks for the great job.
Best regards,
Vladimir
|
|
|
|
|
can this compiled to .net dll and used by other language?
or compiled to activex dll ?
can help file into english?
|
|
|
|
|
There is a english help for version 1.25: http://alxsoft.narod.ru/ALXGridDoc.zip
|
|
|
|
|
Hello there,
This is cool. I just do not understand why somebody will rate this article low - or is it because of the problem the author had with the uploading?
There is a document (*.chm), even though in Russia (I do not understand Russia too), which contains all the pictures.
It even comes with an AppWizard
With a little bit of polish, this will really replace Chris's library and Dundas
Good work, brother.
Best regards,
Paul.
Jesus Christ is LOVE! Please tell somebody.
|
|
|
|
|
k,
After your comments I've tried Compiling this,
I've included the INCLUDE directory etc but I still can't get it to set up properly ?
What's your secret ?
Regardz
Colin J Davies
Sonork ID 100.9197:Colin
You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining.
Said by Roger Wright about me.
|
|
|
|
|
No secret there!
You need to set three directories, the "include" for the header files (C/C++ Tab), the "Lib" for the compiled library (Link Tab), and the "include" for the resource file (Resource Tab).
Best regards,
Paul.
Jesus Christ is LOVE! Please tell somebody.
|
|
|
|
|
I'm not saying it's fair, but a lot of people probably click on all the new articles and would rate this low because of the pictures. Having said that, only 8 people have voted ( so each is quite weighty ) and it's at 3.2 out of 5. I have articles rated lower than that myself, really bad articles generally never get up to 2. So I would not consider this a BAD rating, just middle of the road.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
I like the library too. As Paul stated before, this could be a really replacement for Chris's GridCtrl and Dundas's Ultimate Grid. I think this will become my favourite.
What i would like to see, is a translation of the help file and the source comments to English.
I give you a FIVE.
Best regards
Holger Persch
|
|
|
|