🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #672

Re: "Killing" child windows

#672
From: Michael Harris
Date: Sun, 12 Apr 1992 03:24
20 lines
1514 bytes
gulcu@masg1.epfl.ch (Ceki Gulcu) writes:

>I really (desperately) need to to be able to kill child windows.

Are you saying that you don't know how to kill the child windows or that
the child windows won't die?

If you don't know how to kill them, look up WinDestroyWindow.  If you are
already using WinDestroyWindow, then are you using the correct window
handles?  If you are using WinWindowFromID to get the correct window handles,
are the window id's unique on your application window?

It seems to me that it would be a whole lot easier to just throw up a
multiple-select listbox.  It sure would use a whole lot fewer windows.
(I haven't seen your application so this may not be a desirable option.)

______________________________________________________________________________
     Michael Harris - harris@catt.ncsu.edu or harris@carvm3.vnet.ibm.com
 Vice-President, Computer and Technologies Theme Program, NC State University
(My opinions are my own and do not represent those of NCSU or IBM Corporation)
Technical Details
Message-ID: <harris.703049065@garfield.catt.ncsu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!swrinde!gatech!taco!garfield.catt.ncsu.edu!harris
References: <1992Apr11.212327@masg1.epfl.ch> <1992Apr11.220542@masg1.epfl.ch>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!swrinde!gatech!taco!garfield.catt.ncsu.edu!harris
From: harris@garfield.catt.ncsu.edu (Michael Harris)
Newsgroups: comp.os.os2.programmer
Subject: Re: "Killing" child windows
Message-ID: <harris.703049065@garfield.catt.ncsu.edu>
Date: 12 Apr 92 03:24:25 GMT
References: <1992Apr11.212327@masg1.epfl.ch> <1992Apr11.220542@masg1.epfl.ch>
Sender: news@ncsu.edu (USENET News System)
Organization: North Carolina State University
Lines: 20