Msn messenger like poup

This is a discussion on Msn messenger like poup within the Windows Programming forums, part of the Platform Specific Boards category; How can i make a popup window like that of msn appearing at lower left corners of screen...

  1. #1
    Registered User cfrost's Avatar
    Join Date
    Apr 2004
    Posts
    119

    Smile Msn messenger like poup

    How can i make a popup window like that of msn appearing at lower left corners of screen

  2. #2
    Registered User
    Join Date
    Jul 2003
    Posts
    59
    Can you post a screenshot of what you mean?

  3. #3
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    Quote Originally Posted by cfrost
    How can i make a popup window like that of msn appearing at lower left corners of screen
    My MSN messenger usually pops up from the lower right.

  4. #4
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    University of Waterloo
    Posts
    1,903
    Someone asked this question a little while ago:
    Creating system tray icon popups
    Basically what you need to do is create a window and then look in to the AnimateWindow function. Or look in to creating your own timer that will animate the window.
    Last edited by jverkoey; 07-26-2004 at 08:17 AM.

  5. #5
    01000011 00100000 0010000
    Join Date
    Jul 2004
    Posts
    38
    if i am not mistaken .net has some built in stuff for this very thing, but I am probably mistaken

  6. #6
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    I don't have any direct links, but I know http://www.codeproject.com and http://www.codeguru.com have tutorials on this exact same thing that you wanna know about.

  7. #7
    Registered User cfrost's Avatar
    Join Date
    Apr 2004
    Posts
    119
    Well i used Animate window and It gave me error i used msdn i told me its decelration is in
    winuser.h

    i included that but even then it didnt worked

  8. #8
    nbk
    nbk is offline
    meow nbk's Avatar
    Join Date
    Jul 2004
    Posts
    45
    Could you show the code and the error?

  9. #9
    Registered User cfrost's Avatar
    Join Date
    Apr 2004
    Posts
    119
    It says they are undeclared identifiers

  10. #10
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    Post the error you got, and the code that caused it.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  11. #11
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    1. Open up the file where AnimateWindow() is declared, in this case <winuser.h>.

    2. Search for "AnimateWindow".

    3. You'll find something like:
    Code:
    #if(SOMEVAR >= 0x0500)
    WINUSERAPI
    BOOL
    WINAPI
    AnimateWindow(
        IN HWND hWnd,
        IN DWORD dwTime,
        IN DWORD dwFlags);
    #endif /* SOMEVAR >= 0x0500 */
    4. Now, using the name and value of the define you got in step 3 define it appropriately, either above all #includes in your source file or in project settings.
    Code:
    #define SOMEVAR (0x0500)
    5. Yes, this should be in the documentation rather than having to look in the header file, but them's the breaks.
    Last edited by anonytmouse; 07-31-2004 at 05:35 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. MSN Messenger 7.5
    By sean in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 09-07-2005, 11:06 PM
  2. Attn: MSN Dial-Up Users (long)
    By SinAmerica in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 11-25-2003, 04:26 PM
  3. MSN Messenger SDK?
    By -=SoKrA=- in forum Tech Board
    Replies: 3
    Last Post: 06-03-2003, 02:41 PM
  4. MSN Messenger
    By PsychoBrat in forum Windows Programming
    Replies: 13
    Last Post: 09-28-2002, 11:53 AM
  5. MSN Messenger
    By Brian in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 03-11-2002, 09:03 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21