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 |
|
Jungsun Lee
|
Aug 21, 2002 - 5:31 AM
|
Hi. you have made a wonderful library!! But, small bugs are in the library. Now, i just have found two of them.
I fixed it rather tricky...
First, if i click just above on "Show/hide panels" menu item, it falls into debug assertion. I inserted two lines in _OnMouseClick function in ExtPopupMenuWnd.cpp file.
if( point.x < 0 || point.y < 0) return false;
It doesn’t fall into debug assertion, but i don’t know whether return false or not...
Second, combobox in the ExtToolControlBar invokes assertion error when it lose focus. So, I have made a little change like :
CWnd * pWnd = FromHandlePermanent(hWndCapture); if(pWnd != NULL) if( pWnd->IsKindOf(RUNTIME_CLASS(CExtControlBar)) ) ReleaseCapture();
instead
CWnd * pWnd = FromHandlePermanent(hWndCapture); if( pWnd->IsKindOf(RUNTIME_CLASS(CExtControlBar)) ) ReleaseCapture();
in OnHookWndMsg function in ExtMenuControlBar.cpp file.
Although changes were made by me can avoid debug assertion, I am not sure that they are real solutions...
thanks.
|
|
Sergiy Lavrynenko
|
Aug 27, 2002 - 10:43 AM
|
Thank you for your comments.
I have fixed the bug with not checking the returned value of FromHandlePermanent() already.
And as for the second bug you mentioned, I will fix it soon.
|
|