How can i make a popup window like that of msn appearing at lower left corners of screen
How can i make a popup window like that of msn appearing at lower left corners of screen
Can you post a screenshot of what you mean?
My MSN messenger usually pops up from the lower right.Originally Posted by cfrost
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.
if i am not mistaken .net has some built in stuff for this very thing, but I am probably mistaken
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.
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
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
1. Open up the file where AnimateWindow() is declared, in this case <winuser.h>.
2. Search for "AnimateWindow".
3. You'll find something like:
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:#if(SOMEVAR >= 0x0500) WINUSERAPI BOOL WINAPI AnimateWindow( IN HWND hWnd, IN DWORD dwTime, IN DWORD dwFlags); #endif /* SOMEVAR >= 0x0500 */
5. Yes, this should be in the documentation rather than having to look in the header file, but them's the breaks.Code:#define SOMEVAR (0x0500)
Last edited by anonytmouse; 07-31-2004 at 04:35 AM.