Results 1 to 2 of 2

Thread: Always on top

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2001
    Location
    delhi
    Posts
    22

    Always on top

    Hi,
    I want to put my form on top of all windows. I mean always on top like the windows taskbar.
    Last edited by cancaries; Dec 27th, 2001 at 11:22 AM.
    Pranav

  2. #2
    Megatron
    Guest
    VB Code:
    1. Private Declare Function SetWindowPos Lib "user32" Alias "SetWindowPos" (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) As Long
    2.  
    3. Private Sub Form_Load()
    4.     SetWindowPos hwnd, -1, 0, 0, 0, 0, 3
    5. End Sub

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