We have downloaded the CodeJoke evaluation controls and played with the error demo app. Here are the results:
Run the example and just make one of the grids have focus. Thats enough so that when you press "STOP" in the IDE, iGrid crashes.......
Yes, there is a problem, but that's not an IDE crash. We tested in Win7 Ultimate x64. We get this message box:
===========================
iGrid Control 4.7
...........................
Run-time error '398':
Client Site not available
===========================
The most funny thing is that we never got this problem if we used iGrid outside of the CodeJoke suite.
It seems, something goes wrong when we have their controls on the form. Most likely, they subclass the form and use native Windows messages to do their work, but what can we say without their source code?
But even if we have this in the IDE, in the compiled exe all works fine - with or without the manifest file that should enable visual styles in the app.
And why should we press the STOP button on the Debug toolbar? This should be an emergency case, but normally you should close the app using the regular way - the window title's close button or ALT+F4. The fact is that this can work good with the intrinsic VB controls, but if we are using such advanced techniques as skinning based on low-level API calls (even in the form of ActiveX's), IT"S NOT ADVISED to hit 'STOP' as you ignore the cleanup code and this may lead unpredictable behavior and results in your app.
Ive also had problems with igrid using the codejock "skinning" component. Heres what they say about iGrid :-
"Sorry, afraid problem somewhere else. I tried this sample and totally disabled our hooks and still see crush. Seems this control don't like when system send WM_SYSCOLORCHANGE message indicating that syscolor was changed - we have to send it to notify windows to refresh. "
Really? But why then iGrid works properly when we change say the current Windows theme or some colors in it, and the same WM_SYSCOLORCHANGE message is sent to iGrid and it is processed with no errors?
Edited by user
2011-08-09T09:38:00Z
|
Reason: Not specified