CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2013
    Posts
    22

    resize property sheet/page dialogs

    any easy way to resize property sheet/page dialogs automatically or semi automatically?. have tried too many stuff, but none were fruitful. I need fresh ideas.

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: resize property sheet/page dialogs

    Automatically, based on what?

  3. #3
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: resize property sheet/page dialogs

    Are you using the MFC PropertySheet and PropertyPage classes or straight Win32?

  4. #4
    Join Date
    Feb 2013
    Posts
    22

    Re: resize property sheet/page dialogs

    it is MFC and I like to be able to expand or shrink the pages using mouse by selecting the lower right corner ... or however else possible...

  5. #5
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: resize property sheet/page dialogs


  6. #6
    Join Date
    Feb 2013
    Posts
    22

    Re: resize property sheet/page dialogs

    yes, I skipped the step#2, it did not gave me exactly what I wanted but it was one way to do it. I did not get the corner module to drag the GUI wider or shrink it. I may go back to it. I tried to search online to find an app that could use this approach in better and nice way but not much lucky and I was stuck with my limited use of it in my app. I had to depend on MoveWindow(...) to call the onsize(...) to make the expansion. Like call the MoveWindow from the OnActive handler. Maybe it is my lack of MFC expertise. I just re-started doing things in MFC. I need a good example that uses the approach in the link.

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