[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How to find HWND of vruby VRForm

Jason Saunders

7/16/2008 10:12:00 AM

This is most likely down to my lack of experience with Ruby but I am
struggling to obtain the microsoft windows HWND relating to a VRForm
object when using VRuby.

The class hierarchy
http://www.osk.3web.ne.jp/~nyasu/vruby/referer/vr/V... indicates
that VRForm inherits from SWin::Window which has the property hWnd.

However, attempting to refer to this property using the following;

puts MyForm.hWnd

gives the error;

undefined method `hWnd' for MyForm:Class (NoMethodError)

If I create an SWin::Window I can successfully refer to the hWnd
property.

Since VRForm derives SWin::Window why can't I refer to that property?
--
Posted via http://www.ruby-....