Results 1 to 6 of 6

Thread: How to make visible window ?

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2001
    Location
    Kerala, India
    Posts
    42
    Hi Friends
    If I know the handle of a window and it is not visible How can I make this window visible.
    plz, help me.
    GetHelp <-> LetHelp

  2. #2
    Banned
    Join Date
    Feb 2001
    Location
    Back to sh*tland
    Posts
    294

  3. #3
    Megatron
    Guest
    Code:
    Private Declare Function ShowWindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
    
    'To show the window:
    ShowWindow HwndOfWindow, True
    
    'To hide the window
    ShowWindow HwndOfWindow, False

  4. #4

    Thread Starter
    Member
    Join Date
    Feb 2001
    Location
    Kerala, India
    Posts
    42
    Thanx Both of u
    GetHelp <-> LetHelp

  5. #5
    Banned
    Join Date
    Feb 2001
    Location
    Back to sh*tland
    Posts
    294
    I think Megatron got it easier.

  6. #6
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    I think Megatron got it easier.
    You bothe posted the same code.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

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