Results 1 to 2 of 2

Thread: [Resolved] Application to be kept "ALWAYS ON TOP"

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2005
    Posts
    21

    Resolved [Resolved] Application to be kept "ALWAYS ON TOP"

    I want to keep a VB application always on top of other applications. Can anyone suggest how to do so ?

    Thanx
    Last edited by funky_chunky; Jun 21st, 2005 at 05:27 AM. Reason: Resolved

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Application to be kept "ALWAYS ON TOP"

    In module:
    Public Declare Function SetWindowPos& Lib "user32" (ByVal hWnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long)

    In a form:
    Call SetWindowPos(Me.hWnd, -1, 0, 0, 0, 0, 3)

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