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

    Icon in taskbar for regular windows

    How can I cause MFC windows ( inherited from CWnd) to show an icon in the taskbar as if they were application's main window.So I can switch between windows in the same application by clicking on the icon in the taskbar.
    If it is not a capability of MFC how can I do that with regular Win32 API ?

    Thanking you in advance: Uzi Kohn




  2. #2
    Join Date
    May 1999
    Posts
    2

    Re: Icon in taskbar for regular windows

    I have found the answer:
    It is an extended style for a window which is called: WS_EX_APPWINDOW , so when using CreateEx for windows -> use this style

    Uzi Kohn


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