🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.ms.programmer
2 messages
2 total messages Started by Scott Butler Mon, 13 Apr 1992 21:18
Getting the handle of a form in VB
#340
Author: Scott Butler
Date: Mon, 13 Apr 1992 21:18
14 lines
992 bytes
Is there a way of getting the handle of a form in Visual BASIC besides
reading the form's ".hWnd" property (slow & clunky method!)?  I have a
DLL by Jonathon Zuck called "CTLHWND.DLL" that has a call to get the
handle of a VB *control*, but not a form (Jonathon, you reading this?).

Any help on this would be immensely appreciated.....

Scott
(313) 758-8724
-- 
Scott Butler
------------
100% disclaimer-free!
Re: Getting the handle of a form in VB
#423
Author: Ted M. Young
Date: Thu, 16 Apr 1992 03:58
17 lines
1157 bytes
at887@cleveland.Freenet.Edu (Scott Butler) writes:
>
>Is there a way of getting the handle of a form in Visual BASIC besides
>reading the form's ".hWnd" property (slow & clunky method!)?

Uhh, why do you say using the .hWnd property of a form is slow and
clunky?  Using something like CtlhWnd() is a clunky method, the controls
should've had the .hWnd property themselves, just like the Form does.

>Scott Butler

	- Ted
-- 
Ted M. Young           | Buster: "Gee sir, you must displace a great
tedyoung@panix.com  or |          deal of water when submerged!"
cmcl2!panix!tedyoung   | *** Welcome to the Dizzy Devil Charm School! ***
CompuServe: 76703,4343 |  VB: The quickest way to look cool in Windows!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads