Thread: Msn messenger like poup

  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
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    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
    New York
    Posts
    1,905
    Someone asked this question a little while ago:
    http://cboard.cprogramming.com/showt...&highlight=msn
    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 07: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
    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.
    [email protected]
    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 04: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, 10: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, 01:41 PM
  4. MSN Messenger
    By PsychoBrat in forum Windows Programming
    Replies: 13
    Last Post: 09-28-2002, 10: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