Results 1 to 5 of 5

Thread: How can I disable resizing of foreign window?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    363
    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.
    Wade

  2. #2
    Hey Wade,

    You were on the right track, I think. Try using the WS_DLGFRAME constant instead. Here is the Dim for it:

    Code:
    Public Const WS_DLGFRAME = &H400000

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    363
    I'm getting the same with WS_DLGFRAME.
    Wade

  4. #4
    Frenzied Member
    Join Date
    Mar 2000
    Posts
    1,089
    I've got it in General VB Qs

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    363
    Works like a charm, Sam.

    Thanks.
    Wade

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width