WIN32LIB: destroy()

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

Hi,
I noticed that destroy() didn't work with RichEdit controls, I managed
to fix it by adding:

        elsif class = COMMON_CONTROL then
        
        if not w32Func( xDestroyWindow, { window_handle[id] } ) then
                    abortErr( Err_DESTROYCONTROL )
        end if

Just before:

    else
        -- no special processing.

    end if

In destroy()

I'm not sure if this is the right way to do it though, I tried it with
a few other Common Control's and it worked fine, but there could
easily be something I've overlooked seeing as I don't really have an
overall understanding of how everything works in win32lib  :)

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

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

Search



Quick Links

User menu

Not signed in.

Misc Menu