Click here to Skip to main content
15,881,812 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: setting active audio output vista Pin
Snoepie25-Apr-09 3:36
Snoepie25-Apr-09 3:36 
Questionextern usage problem Pin
linux_xjtu24-Apr-09 23:27
linux_xjtu24-Apr-09 23:27 
AnswerRe: extern usage problem Pin
Stuart Dootson25-Apr-09 0:19
professionalStuart Dootson25-Apr-09 0:19 
AnswerRe: extern usage problem Pin
linux_xjtu25-Apr-09 0:23
linux_xjtu25-Apr-09 0:23 
QuestionHow to determine if the current window is the desktop ? Pin
Yovav24-Apr-09 23:10
Yovav24-Apr-09 23:10 
AnswerRe: How to determine if the current window is the desktop ? Pin
Hamid_RT24-Apr-09 23:26
Hamid_RT24-Apr-09 23:26 
GeneralRe: How to determine if the current window is the desktop ? Pin
Yovav25-Apr-09 0:23
Yovav25-Apr-09 0:23 
QuestionHow to set focus on the next window after minimizing ? Pin
Yovav24-Apr-09 22:32
Yovav24-Apr-09 22:32 
How can I set the focus to the next open window after I minimize some other window ?

For example:
I have the following apps open: IE, Word, Notepad
When I minimize - Notepad is going to the task bar,
At this point I lose the focus and the other open windows cannot be minimized

(My program do minimize the current window in focus when I click something)


This is what I tried:

GetForegroundWindow()->ShowWindow(SW_SHOWMINIMIZED);
Sleep(1000); // Let it minimize ?
::GetWindow(GetForegroundWindow()->m_hWnd, GW_HWNDNEXT);


Any ideas ?

Best Regards - Yovav Gad
CEO and founder of MicroMighty, Inc.

AnswerRe: How to set focus on the next window after minimizing ? [modified] Pin
Yovav24-Apr-09 22:55
Yovav24-Apr-09 22:55 
QuestionMicrosoft Soap tool Kit compatible with all the versions of mssoap.dll Pin
Member 401661624-Apr-09 22:13
Member 401661624-Apr-09 22:13 
QuestionService not started. Pin
Le@rner24-Apr-09 21:39
Le@rner24-Apr-09 21:39 
AnswerRe: Service not started. Pin
Hamid_RT24-Apr-09 22:52
Hamid_RT24-Apr-09 22:52 
GeneralRe: Service not started. Pin
Le@rner24-Apr-09 23:05
Le@rner24-Apr-09 23:05 
GeneralRe: Service not started. Pin
Hamid_RT24-Apr-09 23:27
Hamid_RT24-Apr-09 23:27 
GeneralRe: Service not started. Pin
Le@rner24-Apr-09 23:54
Le@rner24-Apr-09 23:54 
GeneralRe: Service not started. Pin
Hamid_RT25-Apr-09 0:33
Hamid_RT25-Apr-09 0:33 
QuestionHow to send an Email Pin
AnithaSubramani24-Apr-09 21:02
AnithaSubramani24-Apr-09 21:02 
AnswerRe: How to send an Email Pin
CPallini24-Apr-09 22:02
mveCPallini24-Apr-09 22:02 
AnswerRe: How to send an Email Pin
Hamid_RT24-Apr-09 22:48
Hamid_RT24-Apr-09 22:48 
QuestionPdf Creation Pin
AnithaSubramani24-Apr-09 20:56
AnithaSubramani24-Apr-09 20:56 
QuestionRe: Pdf Creation Pin
CPallini24-Apr-09 22:01
mveCPallini24-Apr-09 22:01 
AnswerRe: Pdf Creation Pin
Code-o-mat24-Apr-09 22:13
Code-o-mat24-Apr-09 22:13 
AnswerRe: Pdf Creation Pin
Hamid_RT24-Apr-09 22:57
Hamid_RT24-Apr-09 22:57 
AnswerRe: Pdf Creation Pin
bob1697225-Apr-09 4:44
bob1697225-Apr-09 4:44 
QuestionProcess is not getting attached Pin
pandit8424-Apr-09 20:09
pandit8424-Apr-09 20:09 

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.