|
|
|
|
Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
tarou iiyama
|
Mar 2, 2006 - 12:01 AM
|
However, I revised CExtGridWnd. CExtGridWnd came to work definitely. This is a bug?
******************************************************
class __PROF_UIS_API CExtGridWnd : public CExtGridBaseWnd , public CExtGridDataProvider::IDataProviderEvents { public: virtual void OnGbwSelectionChanged();
******************************************************
void CExtGridWnd::OnGbwSelectionChanged() { ASSERT_VALID( this ); }
******************************************************
|
|
Technical Support
|
Mar 2, 2006 - 7:40 AM
|
What do you mean by "came to work definitely"? Are you confused that the OnGbwSelectionChanged() body is empty? This method was added so that you can handle the grid selection changed event in a derived class. In the base CExtGridWnd class it was left empty because this class doesn’t need to handle this event.
|
|
tarou iiyama
|
Mar 2, 2006 - 5:23 PM
|
Hello
I made my own CMyGridWnd. I use OnGbwSelectionChanged in that. However, OnGbwSelectionChanged does not work.
**********************************************
class CMyGridWnd : public CExtGridWnd { public: virtual void OnGbwSelectionChanged();
**********************************************
I add the following grammar to CExtGridWnd for trial. OnGbwSelectionChanged works. ???
******************************************************
class __PROF_UIS_API CExtGridWnd : public CExtGridBaseWnd , public CExtGridDataProvider::IDataProviderEvents { public: virtual void OnGbwSelectionChanged();
******************************************************
void CExtGridWnd::OnGbwSelectionChanged() { ASSERT_VALID( this ); }
******************************************************
|
|
Technical Support
|
Mar 3, 2006 - 9:35 AM
|
We cannot confirm that the OnGbwSelectionChanged() is not called. Please esure that you created exactly the CMyGridWnd object, which may look like as follows: class CMyGridWnd : public CExtGridWnd
{
public:
virtual void OnGbwSelectionChanged()
{
}
}; If the problem does persist, please send us a test project that demostrates the problem.
|
|
tarou iiyama
|
Mar 5, 2006 - 5:03 PM
|
I try to examine it once again.
|
|