Results 1 to 5 of 5

Thread: api question (resloution i thnk)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386

    Post

    You want to make an application toolbar as if i believe that's the correct name... just like the taskbar, or the office toolbar...
    I believe there are 100s of postings about that earlier.. i've seen a sample a while ago which was ready to use... forgot the name though :-( contained both vb and delphi code... search for appbar I think.... here and/or at the codegure site....

  2. #2
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    355

    Post

    yeah thats what i need beholder!
    anyway ill search for appbar now
    taskbar and toolbar came up with nothing

    ------------------
    cintel rules
    www.cintelsoftware.co.uk

  3. #3
    New Member
    Join Date
    Nov 1999
    Location
    isreal
    Posts
    5

    Post

    i want to make a program that will be always be ontop and when another program is launched and its' window is maximized
    the size of its' window will be in the screen size without the form of my program.

    eg: when icq is sticked to the side of the screen' and you run intrenet explorer and maxmize ie's window.

  4. #4
    Guest

    Post

    Try this code... Works for me...

    Code:
    'Put this in your bas module...
    Option Explicit
     
    'Constants for topmost.
    Public Const HWND_TOPMOST = -1
    Public Const HWND_NOTOPMOST = -2
    Public Const SWP_NOMOVE = &H2
    Public Const SWP_NOSIZE = &H1
    Public Const SWP_NOACTIVATE = &H10
    Public Const SWP_SHOWWINDOW = &H40
    Public Const FLAGS = SWP_NOMOVE Or SWP_NOSIZE
     
    Public 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
    
    '--end block--'
     
    
    'Put this on the form that needs to stay on top.
    
    Option Explicit
    
    Private Sub Form_Load()
       
      'typically called in the form load
       Call SetWindowPos(Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, FLAGS)
    
    End Sub
    I got this from somewhere, whish I knew where. Worked great for me...

    ------------------
    John T. Mieske
    Star Trek LCARS programmer

    Knight Vision Enterprises
    [email protected]


    [This message has been edited by Knight_Vision (edited 01-04-2000).]

  5. #5
    New Member
    Join Date
    Nov 1999
    Location
    isreal
    Posts
    5

    Post

    first of all thanks for ansering but this is
    not what i was looking for this is only the
    ontop modle which i alredy have i want to make a prog that will move that will change the resloution of the working space like icq
    run icq and see when u put it in the right side and u run internet explorer and u maxmize its change its width so u will see internet explorer and icq

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