Results 1 to 4 of 4

Thread: Does a VB class have a window handle?

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2001
    Location
    Jefferson State
    Posts
    3

    Question Does a VB class have a window handle?

    Is a VB class a Window? The first parameter of the API function SHGetFolderPath() is:
    hwndOwner
    (A handle to the window calling the function, which will own any dialog boxes the function may create. )

    Issue 1: I don't see what dialog boxes this call could create.
    Issue 2: I don't know what to use as the hwndOwner when calling this function from a module or class.

    It seems to work if I send the Long '1'. Is this safe?
    Last edited by andwise; Jun 26th, 2001 at 03:53 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width