sendmessage vb6 minimize


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: sendmessage vb6 minimize

  1. #1
    Join Date
    Apr 2005
    Posts
    1

    sendmessage vb6 minimize

    I am using VB6 and have a handle to a window that I wish to minimize, can some one please send me the syntax and appropriate parameters to use a sendmessage to minimize and or hide this window ? thanx

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Code:
    Private Const SW_SHOWMINIMIZED = 2
    Private Declare Function ShowWindow Lib "User32" (ByVal hWnd As Long, _
        ByVal nCmdShow As Long) As Long
    
    Call ShowWindow(hWnd, SW_SHOWMINIMIZED)
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center