Results 1 to 3 of 3

Thread: ARRGHHH. Always on top Question!!

  1. #1

    Thread Starter
    Fanatic Member tim_l_012's Avatar
    Join Date
    Mar 2001
    Location
    Next to a Coffee Cup.
    Posts
    641

    Angry ARRGHHH. Always on top Question!!



    How do you get your form to be 'always on top'

    /: Tim :\____________________
    \: VB, HTML, ASP, VBScript, QBASIC, JavaScript :/

  2. #2
    Matthew Gates
    Guest
    Try this:


    Code:
    Private 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) As Long
    
    Private Sub Form_Load()
        SetWindowPos hwnd, -1, 0, 0, 0, 0, 3
    End Sub

  3. #3
    Addicted Member rikshawdriver's Avatar
    Join Date
    Apr 2001
    Posts
    160
    yourform.zorder
    Thomas

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