Click here to Skip to main content
16,011,469 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to know the length of CList::GetAT(pos) Pin
Iain Clarke, Warrior Programmer3-Jul-08 4:51
Iain Clarke, Warrior Programmer3-Jul-08 4:51 
QuestionMemory Leak Pin
Jhony george3-Jul-08 0:09
Jhony george3-Jul-08 0:09 
AnswerRe: Memory Leak Pin
toxcct3-Jul-08 0:29
toxcct3-Jul-08 0:29 
GeneralRe: Memory Leak Pin
Rajesh R Subramanian1-Aug-08 20:46
professionalRajesh R Subramanian1-Aug-08 20:46 
AnswerRe: Memory Leak Pin
Jijo.Raj3-Jul-08 1:10
Jijo.Raj3-Jul-08 1:10 
AnswerRe: Memory Leak Pin
Hamid_RT3-Jul-08 1:40
Hamid_RT3-Jul-08 1:40 
Questionhow to make messenger styple popup in bottom right corner Pin
garyofcourse3-Jul-08 0:07
garyofcourse3-Jul-08 0:07 
AnswerRe: how to make messenger styple popup in bottom right corner Pin
Nibu babu thomas3-Jul-08 0:50
Nibu babu thomas3-Jul-08 0:50 
garyofcourse wrote:
Hi, Im programming in visualC++ with MFC in vs2008.



garyofcourse wrote:
When using some applications like instant messenger, whenver someone signs in there is a popup in the bottom right corner of the screen saying 'xyz has signed in'. I want to make a popup like that. It should rise up from the status bar and then drop back down into it the way it happens in messenger. In addition the rest of the program should not stop running when that popup is rising up and lowering down.


You can use CMFCDesktopAlertWnd[^] if you are using MFC feature pack.

Else you need to create a top most popup window most probably a captionless dialog will do and then use AnimateWindow to make the window slide/fade in.

Also you've got to make the window appear alongside the window's taskbar so take note of the taskbar position too.


Nibu babu thomas
Microsoft MVP for VC++


Code must be written to be read, not by the compiler, but by another human being.

Programming Blog: http://nibuthomas.wordpress.com

GeneralRe: how to make messenger styple popup in bottom right corner Pin
garyofcourse3-Jul-08 3:59
garyofcourse3-Jul-08 3:59 
QuestionA very intersting code Pin
Dracula Wang3-Jul-08 0:03
Dracula Wang3-Jul-08 0:03 
AnswerRe: A very intersting code Pin
Dracula Wang3-Jul-08 0:07
Dracula Wang3-Jul-08 0:07 
GeneralRe: A very intersting code Pin
KarstenK3-Jul-08 1:07
mveKarstenK3-Jul-08 1:07 
QuestionHow can set text of button at runtime? Pin
Le@rner2-Jul-08 23:47
Le@rner2-Jul-08 23:47 
AnswerRe: How can set text of button at runtime? Pin
Rajesh R Subramanian2-Jul-08 23:53
professionalRajesh R Subramanian2-Jul-08 23:53 
AnswerRe: How can set text of button at runtime? Pin
_AnsHUMAN_ 2-Jul-08 23:54
_AnsHUMAN_ 2-Jul-08 23:54 
AnswerRe: How can set text of button at runtime? Pin
Paresh Chitte2-Jul-08 23:54
Paresh Chitte2-Jul-08 23:54 
AnswerRe: How can set text of button at runtime? Pin
Hamid_RT3-Jul-08 1:38
Hamid_RT3-Jul-08 1:38 
QuestionUAC in Vista Pin
subramanyeswari2-Jul-08 23:35
subramanyeswari2-Jul-08 23:35 
QuestionRe: UAC in Vista Pin
Rajesh R Subramanian2-Jul-08 23:55
professionalRajesh R Subramanian2-Jul-08 23:55 
AnswerRe: UAC in Vista Pin
subramanyeswari3-Jul-08 2:17
subramanyeswari3-Jul-08 2:17 
GeneralRe: UAC in Vista Pin
Nibu babu thomas3-Jul-08 3:35
Nibu babu thomas3-Jul-08 3:35 
QuestionHow to Clear IE history under a limited account of VISTA Pin
moye25012-Jul-08 22:26
moye25012-Jul-08 22:26 
QuestionThe stack conventions are different in AfxBeginThread and CreateThread Pin
followait2-Jul-08 21:37
followait2-Jul-08 21:37 
AnswerRe: The stack conventions are different in AfxBeginThread and CreateThread Pin
Iain Clarke, Warrior Programmer2-Jul-08 22:03
Iain Clarke, Warrior Programmer2-Jul-08 22:03 
AnswerRe: The stack conventions are different in AfxBeginThread and CreateThread Pin
Saurabh.Garg2-Jul-08 22:12
Saurabh.Garg2-Jul-08 22:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.