TabControls / ListView Crashes
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Jan 11, 2001
- 394 views
I've got a listview control within a tabitem->tabcontrol. One one of my machines (Win98/IE4) the program crashes (apparently within an xDefWinProc call) when I exit the program. On another machine, (Win98SE/IE5) everything is fine. I seem to recall someone (Wolfgang?) having a similar problem with tabcontrols recently, but I couldn't find any references in the archives of the listserv. I'm pretty sure we got the issue fixed, but win32lib has changed a lot since then, and I can't remember what we ended up doing. Does anyone remember this? I'm hoping it will give me a clue as to how to solve my current problem. My current solution is to call SetParent (in user32.dll) to change the parent of the listview from the tabcontrol to the main window in the main window's onClose procedure, which is pretty ugly... Matt Lewis