Results 1 to 6 of 6

Thread: Does anyone know how free IP Banners appear on top of every window

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    117
    Does anyone know how free IP Banners appear on top of every window, no matter what window is open. I would really like to know how to do that with some of my programs

  2. #2
    Guest
    NetZero and stuff actually resize the windows to make it fit, you have a smaller view of the window(IE) but at least nothing is blocked(like if it didnt resize the window)

  3. #3
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    The "other programs like NetZero" don't use SetWindowPos to make it on top. They create an AppBar and let Windows do all the hard work.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    117
    I appreciate you helping me Yonathan, but why are you telling me what they DON'T use. And what is an AppBar? How do you create one?

  5. #5
    Guest
    here are the API's to make an AppBar,
    I dont know how to use them, but here they are.

    Code:
    Public Declare Function SHAppBarMessage Lib "shell32.dll" Alias "SHAppBarMessage" (ByVal dwMessage As Long, pData As APPBARDATA) As Long
    Public Type APPBARDATA
            cbSize As Long
            hwnd As Long
            uCallbackMessage As Long
            uEdge As Long
            rc As Rect
            lParam As Long '  message specific
    End Type

  6. #6
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892

    Talking SHAppBarMessage

    Click the smiley:

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