RE: Using tab controls, program crashes on Win98. Film at 11.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matthew Lewis wrote:
> This seems to be a bug in the TabControl code in the common controls 
> DLL.
> It doesn't like getting the LVN_DELETEALLITEMS notification, which it 
> gets
> just before a child listview item is destroyed.  In SubProc, you can add 
> the
> following right before the call to the tab control's default window proc
> (which I've included here):
> 
> if window_type[id] = TabControl and iMsg = WM_NOTIFY then
> 
>     VOID = fetch( lParam, NMHDR_code )
>     if VOID = LVN_DELETEALLITEMS then
>         return popSelf()
>     end if
> end if
> returnValue( w32Func( xCallWindowProc, { window_func[id], hWnd, iMsg,
> wParam, lParam } ))
> 
> 
> Matt Lewis
> 
> 
Matt,

Just got back around to applying this patch and I can't figure out where 
it goes into SubProc in Win32Lib.  Could you maybe include the entire 
SubProc function with the changes needed?  Thanks a bunch!

Jonas

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu