Search Tools Links Login

Make a form a child of another form


Visual Basic 6, or VB Classic

Shows a good way to make a form a child of another form without the jumpyness of using just SetParent alone.

Original Author: Jim MacDiarmid

API Declarations

Public Declare Function SetParent Lib "user32.dll" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Public Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long
Public Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 88 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD16119362001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 5,091 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.