On 7/11/2006 4:02 PM, Arnaud Nicolet wrote:
When I learned visual basic some times ago, someone told me that a window can be disabled (mouse clicks on the window just produce a beep).

In VB you do this by setting Form.Enabled = False. RB doesn't seem to have such a property for forms.

It was possible using a declare.

In Win32 you'd need to use the EnableWindow function, which requires a window handle as the first argument. Window.Handle appears to return the appropriate value under Win32. I haven't tested it, but I think the declaration would be:

Declare Function EnableWindow(hWnd As Integer, bEnable As Integer) As Integer

--
Charles Calvert
Celtic Wolf, Inc.
(703) 580-0210
[EMAIL PROTECTED]
http://www.celticwolf.com/

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to