How to prevent child window resizing and change position?

code:
SetParent lonHandle, Form1.hwnd

now, I want to prevent resizing and change position from lonHandle window

Recommended Answers

All 2 Replies

Change the property of child window (Form1) as..

Form1.BorderStyle = 1
Form1.Moveable = False

form1 is the father
I want to prevent moving and change position from the child window app not a vb form

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.