Results 1 to 2 of 2

Thread: Help me with this "PostMessage" Thing, please.

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Posts
    87

    Post

    I use this code, but it won't Restore the Window, why ?
    Code:
    winHwnd = FindWindow(vbNullString, %THE CAPTION HERE%)
            If winHwnd <> 0 Then
                RetVal = PostMessage(winHwnd, SC_RESTORE, 0&, 0&)
                If RetVal = 0 Then
                    MsgBox "Error posting message."
                End If
            Else
                MessageBox
    End If

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Jul 1999
    Posts
    87

    Post

    Don't mind, I've found a solution.



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