If you're not good at C++, you shouldn't try tolearn it by doing this kind of thing, it will just confuse you. You should stick to VB
. And once again, events can be coded in VB6 as well. In fact, it's much better to use in VB than in VC.
Itend to think that the code posted by noelie should work fine. I should make a poll to know what's the percentage of VB6 vs VB.NET programmers.