I could only find one line.
It goes into a loop and freezes the form
CTRL Break gets it to stop on
Public Function WindowProcSB(ByVal hWnd As Long, ByVal message As Long,
ByVal wParam As Long, ByVal lParam As Long) As Long
> Well I never bother porting it to A2K or higher simply because
> Conditional Formatting is now directly supported. If you are willing to
[quoted text clipped - 82 lines]
>> >> >>
>> >> >> John
Stephen Lebans - 29 Apr 2005 00:44 GMT
Now I remember why I did not port this sample to A2K. It's the old
Subclassing/VB IDE bug. If you have had or currently opened the VB IDE
window, then Access WIndow MEssage queque will get overloaded. If you
open the Form without having had the VB IDE open at any point during
this session then you will not encounter this bug.
There also seems to be a change from A97 in the sequence of form events.
Comment out all of the code in the resize event.
Tomorrow, I'll have a look at placing the sublassing code within an
external DLL as this is the only solution to the Subclassing bug.
It brings joy to my heart to see all of those ugly colors again on an
Access Form!<grin>
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
> I could only find one line.
>
[quoted text clipped - 90 lines]
> >> >> >>
> >> >> >> John
JohnR - 29 Apr 2005 20:26 GMT
I really appreciate your efforts.
If I distribute this as an MDE would that prevent the problem?
> Now I remember why I did not port this sample to A2K. It's the old
> Subclassing/VB IDE bug. If you have had or currently opened the VB IDE
[quoted text clipped - 124 lines]
>> >> >> >>
>> >> >> >> John
Stephen Lebans - 29 Apr 2005 21:18 GMT
Yes, that is the only current solution.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
> I really appreciate your efforts.
>
[quoted text clipped - 128 lines]
> >> >> >> >>
> >> >> >> >> John
JohnR - 30 Apr 2005 00:37 GMT
Thank you very much.
> Yes, that is the only current solution.
>
[quoted text clipped - 155 lines]
>> >> >> >> >>
>> >> >> >> >> John