WIN32LIB: destroy()
- Posted by "Thomas Parslow (PatRat)" <patrat at rat-software.com> Apr 12, 2001
- 430 views
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