Click to See Complete Forum and Search --> : How can I disable resizing of foreign window?
WadeD
May 31st, 2000, 12:53 AM
It's a foreign window. I tried SetWindowPos with window style WS_Border but it left a very thin border that can still be resized.
Thanks.
SkippySolutions
May 31st, 2000, 01:05 AM
Hey Wade,
You were on the right track, I think. Try using the WS_DLGFRAME constant instead. Here is the Dim for it:
Public Const WS_DLGFRAME = &H400000
WadeD
May 31st, 2000, 01:11 AM
I'm getting the same with WS_DLGFRAME.
Sam Finch
May 31st, 2000, 02:09 AM
I've got it in General VB Qs
WadeD
May 31st, 2000, 02:10 AM
Works like a charm, Sam.
Thanks.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.