Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using API SetParent with VB6 and NT4

40 views
Skip to first unread message

Jérôme

unread,
Jan 29, 1999, 3:00:00 AM1/29/99
to
Hello,

I'm using the SetParent function with VB6 and NT4 (SP3).

I've got a problem :
If I click on the caption bar to move the child window,
when I want to move it, its appears far under the cursor.
When I drop the window, it reappears well positionned.
The same phenomen occurs when I want to resize the child window.

Thanks for any help.

Jérôme

mailto:j.f...@alfainfo.fr

AE { : - )

unread,
Jan 29, 1999, 3:00:00 AM1/29/99
to
set parent is useful but dangerous as it does not seem to register a new
control has moved so what seems to happen is that your control behaves
relative to the old window. i.e it still think that its client coordinates
etc are some where else....

Alex

Jérôme wrote in message ...

Peter Diehr

unread,
Jan 29, 1999, 3:00:00 AM1/29/99
to
This is the same behavior as under VB5 ... you need to change the window
style to "child".

Best Regards, Peter

0 new messages