CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 1999
    Posts
    1

    How to create a view minimized?



    Hi,


    how do you create a new view minimized (iconized)?

    thanks.




  2. #2
    Join Date
    Apr 1999
    Posts
    16

    Re: How to create a view minimized?



    Use SW_SHOWMINIMIZED like this for example

    .

    void CDrawView::OnInitialUpdate() //to open views parent frame minimized

    {

    CView::OnInitialUpdate();

    GetParentFrame()->ShowWindow(SW_SHOWMINIMIZED);

    }


    luck




  3. #3
    Join Date
    Mar 2001
    Location
    India
    Posts
    2

    Re: How to create a view minimized?

    cs.style = WS_CHILD | WS_VISIBLE | WS_OVERLAPPEDWINDOW|WS_MINIMIZE;
    Include this piece of code in the PrecreateWindow
    of ur child view class.


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