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
    Posts
    2

    help me!(window question)

    Generally,In windows 95&98, when we create a window (not toolwindow or child window),there is a button appear on the toolbar in screen bottom.when the window is minimized,we can click the button to restore the window.

    my question is How can I delete(or hide) the button after I create a window?



  2. #2
    Join Date
    Apr 1999
    Posts
    7

    Re: help me!(window question)

    Try this :

    When the user reduces the window, a WM_SHOWWINDOW message is sent. In the OnShowWindow function, add this code :
    ShowWindow(SW_HIDE);

    Remember that you surely have to restore the window. Then, in the right function, (different belong what you want to do), add this code :
    ShowWindow(SW_SHOW);

    Hope this helps you


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