ChrisL Posted August 29, 2010 Share Posted August 29, 2010 If you create a child window with $WS_EX_MDICHILD and you GuiDelete() the parent is the child automatically deleted? While I know that I can't see the child after, I'm curious to know if I explicitly have to delete the child GUI, I want to be sure I'm not leaving used unseen used resources behind. Thanks Chris [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
martin Posted August 29, 2010 Share Posted August 29, 2010 If you create a child window with $WS_EX_MDICHILD and you GuiDelete() the parent is the child automatically deleted?While I know that I can't see the child after, I'm curious to know if I explicitly have to delete the child GUI, I want to be sure I'm not leaving used unseen used resources behind.ThanksChrisThe parent will destroy any children when it is destroyed. Search for destroyed on this page. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
ChrisL Posted August 29, 2010 Author Share Posted August 29, 2010 Thanks Martin I've got a heap of child windows created with PNGs using SetBitmap()function so I wanted to be sure everything was cleaning up properly [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
RoyS Posted August 29, 2010 Share Posted August 29, 2010 Just wanted to let you know.. I found the reference to the MS library very useful.. newbee to using AutoIt and so these tips are valuable.. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now