Results 1 to 4 of 4

Thread: GetWindow without having a visible form...

  1. #1
    MerryVIP
    Guest
    Hmm...Have you tried using module and having a Sub Main () in it to do the thing? Or do you need the form for something?

    You could also open the form via Sub Main from the module...Well, I think I better leave answering for someone who is a better helper


    Just I thought: you could make external executable for creating the file, so it stays invisible. Just set the form invisible, launch the filecreating executable and show your form again. Should work nicely...

  2. #2
    Junior Member NGE's Avatar
    Join Date
    Feb 2001
    Location
    Neo-Tokyo 3
    Posts
    26
    You misunderstood... the problem that I can't get the window list when there's no visible form.

    PS: Of course Im having a Sub Main, the form is only there to catch the trayicon-callback, see now why it has to be invisible?

  3. #3
    Junior Member NGE's Avatar
    Join Date
    Feb 2001
    Location
    Neo-Tokyo 3
    Posts
    26
    Please, I have no idea... It works when the form is minimized too, but as soon as I hide it (ShowWindow HWND, SW_HIDE) it doesn't work anymore

  4. #4
    Junior Member NGE's Avatar
    Join Date
    Feb 2001
    Location
    Neo-Tokyo 3
    Posts
    26
    Ok I found out the form needs to be visible during the whole GetList() -function

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