RE: Win32lib-closeWindow problem

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

Matt Lewis wrote:

http://www.listfilter.com/cgi-bin/esearch.exu?fromMonth=3&fromYear=6&toMonth

> =3&toYear=6&postedBy=&keywords=listview+tabcontrol+crash
> 
> "...I located the point at which I've had GPF trouble (once again, on
> closing).
> I tracked it down to SubProc.  The crash happens when a TabControl gets 
> a
> WM_NOTIFY with an LVN_DELETEALLITEMS notification.  This happens when 
> the
> app is closed, and when there is a ListView with a TabControl as parent. 
>  I
> added this code to SubProc right above the call to xCallWindowProc:
> 
> 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
> 
> For some reason, the tab control can't handle this message, but this
> prevents a GPF."
> 
> Perhaps it's a similar issue.

I think it is a similar issue.

But in the version of Win32lib that I'm using (the latest version), 
there is no call to xCallWindowProc in Subproc.


Jerry Story

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

Search



Quick Links

User menu

Not signed in.

Misc Menu