[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    [ruby-talk:00285] Ruby/Win32 question
From:       "bryce" <thecrow () cyberdude ! com>
Date:       1999-04-22 17:55:02
[Download RAW message or body]

I have a window class instance.

For example:

 x = Window.new ( "hey there")
 x.show ()

I think I am having some trouble when the window closes
with the window object being freed.

I want the object to be destroyed regardless of how many
references there are to it when the WM_DESTROY message
is received by object 'x' (which is the window).

Any help is *much* appreciated.
Thanks.
Bryce
====================================
alt e-mail: brycedooley@mailcity.com
fax: (603) 806-5679
"the way to conquer dull people is to outlive them . . ."


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META content="MSHTML 5.00.2014.210" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>I have a window class instance.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>For example:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;x = Window.new ( "hey there")<BR>&nbsp;x.show 
()</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>I think I am having some trouble when the window 
closes<BR>with the window object being freed.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>I want the object to be destroyed regardless of how 
many<BR>references there are to it when the WM_DESTROY message<BR>is received by 
object 'x' (which is the window).</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>Any help is *much* 
appreciated.<BR>Thanks.<BR>Bryce</FONT></DIV>
<DIV><FONT size=2>====================================<BR>alt e-mail: <A 
href="mailto:brycedooley@mailcity.com">brycedooley@mailcity.com</A><BR>fax: 
(603) 806-5679<BR>"the way to conquer dull people is to outlive them . . 
."<BR></FONT></DIV></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic