Click here to Skip to main content
15,887,430 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralQuestion Pin
rfixxxer3-Aug-04 5:23
rfixxxer3-Aug-04 5:23 
GeneralRe: Question Pin
jmkhael3-Aug-04 5:39
jmkhael3-Aug-04 5:39 
GeneralRe: Question Pin
Michael P Butler3-Aug-04 5:40
Michael P Butler3-Aug-04 5:40 
GeneralRe: Question Pin
rfixxxer3-Aug-04 6:04
rfixxxer3-Aug-04 6:04 
GeneralRe: Question Pin
David Crow3-Aug-04 5:47
David Crow3-Aug-04 5:47 
GeneralRe: Question Pin
rfixxxer3-Aug-04 6:07
rfixxxer3-Aug-04 6:07 
QuestionTransparent button control over a dialog in WinCE ? Pin
Arun AC3-Aug-04 5:19
Arun AC3-Aug-04 5:19 
GeneralNotification popup Pin
Riderman373-Aug-04 4:37
Riderman373-Aug-04 4:37 
I am trying to program a notification popup that is similar to Outlooks message when you get a new email. What I am trying to accomplish is if the user is in another application and has our application minimized that a popup message appears on the screen notifying them of work that they have to perform. I would like this popup to appear regardless even if the all windows are minimized. I have tried variations of the following code

SetWindowPos(hwndOwner,HWND_TOPMOST,0,0,0,0,SWP_NOZORDER|SWP_NOMOVE|SWP_SHOWWINDOW);
SetForegroundWindow(hwndOwner);
SetFocus(hwndOwner);
stat = MessageBoxEx((HWND)Uxvt_vobj_get_attr(win, ATTR_NATIVE_WINDOW),u_str_ptr(mh), u_str_ptr(th), buttons | icon | defbutton | modalflag | miscflags,MAKELANGID(LANG_NEUTRAL, SUBLANG_NEUTRAL));

The best I have been able to come up with is a message that spans all windows which is a start but it only appears if I give focus to our application and then click on another application - I need it to do it regardless of focus - any ideas? Thanks Rider
GeneralRe: Notification popup Pin
valikac3-Aug-04 5:48
valikac3-Aug-04 5:48 
GeneralRe: Notification popup Pin
David Crow3-Aug-04 5:51
David Crow3-Aug-04 5:51 
GeneralSending an interrupt to a process Pin
Member 6256663-Aug-04 4:23
Member 6256663-Aug-04 4:23 
GeneralRe: Sending an interrupt to a process Pin
jmkhael3-Aug-04 5:18
jmkhael3-Aug-04 5:18 
GeneralLocating chars in strings etc. Pin
CreepingFeature3-Aug-04 4:16
CreepingFeature3-Aug-04 4:16 
GeneralRe: Locating chars in strings etc. Pin
Nigel Savidge3-Aug-04 4:55
Nigel Savidge3-Aug-04 4:55 
GeneralRe: Locating chars in strings etc. Pin
CreepingFeature3-Aug-04 7:08
CreepingFeature3-Aug-04 7:08 
GeneralRe: Locating chars in strings etc. Pin
David Crow3-Aug-04 5:56
David Crow3-Aug-04 5:56 
GeneralCListCtrl - number of icons displayed. Pin
John-Lucas Brown3-Aug-04 3:20
John-Lucas Brown3-Aug-04 3:20 
GeneralRe: CListCtrl - number of icons displayed. Pin
Graham Bradshaw3-Aug-04 8:05
Graham Bradshaw3-Aug-04 8:05 
GeneralOpening any Ext. pacakage in a view port Pin
sangit843-Aug-04 2:50
professionalsangit843-Aug-04 2:50 
GeneralCombo box window text Pin
gokings3-Aug-04 2:40
gokings3-Aug-04 2:40 
GeneralRe: Combo box window text Pin
Ravi Bhavnani3-Aug-04 3:10
professionalRavi Bhavnani3-Aug-04 3:10 
GeneralRe: Combo box window text Pin
gokings3-Aug-04 8:58
gokings3-Aug-04 8:58 
GeneralRe: Combo box window text Pin
RChin3-Aug-04 3:26
RChin3-Aug-04 3:26 
GeneralRe: Combo box window text Pin
gokings3-Aug-04 9:00
gokings3-Aug-04 9:00 
GeneralOverlays Pin
sweep1233-Aug-04 1:58
sweep1233-Aug-04 1:58 

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.