🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2671

OWL - modifying destructors

#2671
From: Arto Oinas
Date: Mon, 11 Jan 1993 09:30
12 lines
1010 bytes
I have been programming with Turbo C++ for Windows nearly a mounth.
I have used OWL classes to create interface elements. Now I am facing 
a problem. I want allocate dynamic memory for child buttons (to an array of
pointers to the buttons) in a window. Because the window itself, derived from 
TWindow, handles destructing its children, I don't know how to, and where free
the allocated memory for the pointers. The dynamic allocation is necessa-
ry because the number of those buttons can change, depending on the data-file
which the program reads.

Thanks for yer help,
Arto Oina
Technical Details
Message-ID: <1993Jan11.093034.17621@ousrvr.oulu.fi>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ousrvr.oulu.fi!phoenix!artoinas

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!news.funet.fi!ousrvr.oulu.fi!phoenix!artoinas
From: artoinas@phoenix.oulu.fi (Arto Oinas)
Subject: OWL - modifying destructors
Message-ID: <1993Jan11.093034.17621@ousrvr.oulu.fi>
Sender: news@ousrvr.oulu.fi
Organization: University of Oulu, Finland
X-Newsreader: TIN [version 1.1 PL6]
Date: Mon, 11 Jan 1993 09:30:34 GMT
Lines: 12