Win32Lib Bugs
- Posted by David Cuny <dcuny at LANSET.COM> Nov 06, 1998
- 564 views
Greetings. I've been working on trying to fix some Win32Lib bugs, and I thought I'd post them here, so others can take a shot at them. I'm stumped! They are ordered by most to least critical. Bug #1: Memory Errors in Lists Win32Lib seems to barf when you click certain list items several times. The common key seems to be a length of 12, such as "Robert Craig" or "orange juice". The error is an invalid page default from EXW.EXE. What's especially perplexing about this bug is that you sometimes have to click the item several times to get it to fail. (Maybe it's triggering a double-click behavior?) Bug #2: Setting Scroll Bars For reasons that *entirely* escape me, if you call a routine (such as setScrollRange) that sends a message to a scrollbar, you can't create *any* scrollbars after that event. There are no errors - the scrollbars simply are not created. Looking in Win32Lib, you can see that I rewrote setScrollRange() to call a different API routine. But the effect is still the same. Bug #3: Modal Window Focus I've mentioned this before - in the simulated modal windows that Win32Lib uses, when focus is moved off the "modal" window and then automatically back, the non-modal window is not repainted as if it no longer had focus. Any clues? Send me a note, please! I'm stumped! Thanks! -- David Cuny dcuny at lanset.com