CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Location
    Rotterdam, Netherlands
    Posts
    278

    Resizable windowlook but not resizable

    Maybe I lost my mind, but....
    I want to create a window that looks like it's resizable (you know, with the thick border) but then, I don't want the user to be able to resize it (it's put into a main form using SetParent, and I use the resize event of the mainform to resize this child (fake child actually...), and it looks the coolest if the form has the thick frame as if it can be resized, but it shouldn't be able to be resized.
    When I modify the style using WS_THICKFRAME it becomes resizable again...
    Any ideas? (without subclassing)
    Tnx!

    Crazy D :-)
    "One ring rules them all"

  2. #2
    Join Date
    Apr 1999
    Location
    Rotterdam, Netherlands
    Posts
    278

    Re: Resizable windowlook but not resizable

    woohoo found it.. hehe kinda overlooked it.. :-) it's WS_DLGFRAME that does the trick... :-)

    Crazy D :-)
    "One ring rules them all"

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

Featured