Results 1 to 2 of 2

Thread: Need help

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2000
    Location
    LewZer-LanD
    Posts
    120
    Ok, i was wondering, how could i disable/enable a button on another program using hWnd. I can get the handle of the button with Spy++. Please help. The main reason for doing this, is i want 2 of my programs to be able to interact. And i don't want to use get/savesetting commands or use any ini's.

    Please help.

    Thanx,
    da404lewzer
    Kid A

    18 Year Old Programmer
    Visual Basic 6 & .NET Enterprise, ASP, WinXP (Advanced Server) Administration, HTML, Graphic Arts, Winsock, Learning VC++ and now maybe C#.. heh
    [vbcode]
    'back in the day vb6 code
    Private Sub My_Life()
    If Hour(Now) > 3 And Hour(Now) < 13 Then
    Status = "Sleeping"
    Else
    Status = "Computing"
    End If
    End Sub
    [/vbcode]

  2. #2
    Guest
    doesnt the hWnd change every time the program is unloaded?

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