|
-
Jun 12th, 2000, 05:58 AM
#1
Thread Starter
Hyperactive Member
Is there a way to make MDI children appear in a particular part of the screen????
I have a program and I need to make a tool bar that shows up on the right side of the screen and another box that I would like to have some where in the top right??
Is there any way to do this?
thankyou
Nick
-
Jun 12th, 2000, 07:01 AM
#2
Use the Move Command to Move the Form when you load it.
Code:
Private Sub MDIForm_Load()
Load Form2
Form2.Move 960, 960
End Sub
-
Jun 12th, 2000, 07:01 AM
#3
transcendental analytic
You should make pictureboxes on the mdiform, they automatically align to the borders, you can set it with align property
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 12th, 2000, 07:42 AM
#4
PowerPoster
MoveWindow API
you also can you the MoveWindow API function.
Code:
Option Explicit
Private Declare Function MoveWindow Lib "user32" (ByVal hwnd As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long
Private Sub Command1_Click()
MoveWindow Form2.hwnd, 200, 200, 500, 500, True
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|