|
-
Jan 4th, 2000, 01:54 AM
#1
Thread Starter
Hyperactive Member
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....
-
Jan 4th, 2000, 02:55 AM
#2
Hyperactive Member
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
-
Jan 4th, 2000, 12:07 PM
#3
New Member
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.
-
Jan 4th, 2000, 12:16 PM
#4
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).]
-
Jan 4th, 2000, 12:53 PM
#5
New Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|