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

    How to drop a window down like ICQ

    I don't know to name it right, but if u 'drop down' a prog like ICQ no(!) other window will overlap the icq one if they on fullscreen mode.

    Maybe it called drop to window or a kind like this or is to use WS_TOP or WS_TOPMOST - I hope u understand me...

    How to do it in VC++ ?
    Is here or elsewhere any example code ?


  2. #2
    Join Date
    May 1999
    Posts
    82

    Re: How to drop a window down like ICQ

    Add this line to your CMainFrame's PreCreateWindow function
    [ccode]
    cs.dwExStyle |= WS_EX_TOPMOST;
    [/cccode]


  3. #3
    Join Date
    May 1999
    Posts
    71

    Re: I mean a diffrent

    No, I allready use WS_EX_TOPMOST but if I use the "fullsize" button on other tools, the will be "under" my window and should only go to the endposition of my window (like a taskbar - u know?)

    But thanks for the try!


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