Click here to Skip to main content
15,559,459 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: setting active audio output vista Pin
Snoepie25-Apr-09 4:36
Snoepie25-Apr-09 4:36 
Questionextern usage problem Pin
linux_xjtu25-Apr-09 0:27
linux_xjtu25-Apr-09 0:27 
AnswerRe: extern usage problem Pin
Stuart Dootson25-Apr-09 1:19
professionalStuart Dootson25-Apr-09 1:19 
AnswerRe: extern usage problem Pin
linux_xjtu25-Apr-09 1:23
linux_xjtu25-Apr-09 1:23 
QuestionHow to determine if the current window is the desktop ? Pin
Yovav25-Apr-09 0:10
Yovav25-Apr-09 0:10 
AnswerRe: How to determine if the current window is the desktop ? Pin
Hamid_RT25-Apr-09 0:26
Hamid_RT25-Apr-09 0:26 
GeneralRe: How to determine if the current window is the desktop ? Pin
Yovav25-Apr-09 1:23
Yovav25-Apr-09 1:23 
QuestionHow to set focus on the next window after minimizing ? Pin
Yovav24-Apr-09 23:32
Yovav24-Apr-09 23: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 23:55
Yovav24-Apr-09 23:55 
QuestionMicrosoft Soap tool Kit compatible with all the versions of mssoap.dll Pin
Member 401661624-Apr-09 23:13
Member 401661624-Apr-09 23:13 
QuestionService not started. Pin
Le@rner24-Apr-09 22:39
Le@rner24-Apr-09 22:39 
AnswerRe: Service not started. Pin
Hamid_RT24-Apr-09 23:52
Hamid_RT24-Apr-09 23:52 
GeneralRe: Service not started. Pin
Le@rner25-Apr-09 0:05
Le@rner25-Apr-09 0:05 
GeneralRe: Service not started. Pin
Hamid_RT25-Apr-09 0:27
Hamid_RT25-Apr-09 0:27 
GeneralRe: Service not started. Pin
Le@rner25-Apr-09 0:54
Le@rner25-Apr-09 0:54 
GeneralRe: Service not started. Pin
Hamid_RT25-Apr-09 1:33
Hamid_RT25-Apr-09 1:33 
QuestionHow to send an Email Pin
AnithaSubramani24-Apr-09 22:02
AnithaSubramani24-Apr-09 22:02 
AnswerRe: How to send an Email Pin
CPallini24-Apr-09 23:02
mveCPallini24-Apr-09 23:02 
AnswerRe: How to send an Email Pin
Hamid_RT24-Apr-09 23:48
Hamid_RT24-Apr-09 23:48 
QuestionPdf Creation Pin
AnithaSubramani24-Apr-09 21:56
AnithaSubramani24-Apr-09 21:56 
QuestionRe: Pdf Creation Pin
CPallini24-Apr-09 23:01
mveCPallini24-Apr-09 23:01 
AnswerRe: Pdf Creation Pin
Code-o-mat24-Apr-09 23:13
Code-o-mat24-Apr-09 23:13 
AnswerRe: Pdf Creation Pin
Hamid_RT24-Apr-09 23:57
Hamid_RT24-Apr-09 23:57 
AnswerRe: Pdf Creation Pin
bob1697225-Apr-09 5:44
bob1697225-Apr-09 5:44 
QuestionProcess is not getting attached Pin
pandit8424-Apr-09 21:09
pandit8424-Apr-09 21: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.