Click here to Skip to main content
15,899,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: List of files in a directory Pin
ThatsAlok1-Sep-05 16:19
ThatsAlok1-Sep-05 16:19 
GeneralRe: List of files in a directory Pin
sunit52-Sep-05 0:56
sunit52-Sep-05 0:56 
QuestionProblem automating IE MSHTML SELECT Element Pin
SureshMahanty1-Sep-05 8:27
SureshMahanty1-Sep-05 8:27 
AnswerRe: Problem automating IE MSHTML SELECT Element Pin
Jose Lamas Rios1-Sep-05 15:46
Jose Lamas Rios1-Sep-05 15:46 
GeneralRe: Problem automating IE MSHTML SELECT Element Pin
SureshMahanty1-Sep-05 19:16
SureshMahanty1-Sep-05 19:16 
GeneralRe: Problem automating IE MSHTML SELECT Element Pin
Jose Lamas Rios2-Sep-05 3:31
Jose Lamas Rios2-Sep-05 3:31 
GeneralRe: Problem automating IE MSHTML SELECT Element Pin
SureshMahanty2-Sep-05 9:42
SureshMahanty2-Sep-05 9:42 
QuestionSafely closing a process Pin
srev1-Sep-05 6:09
srev1-Sep-05 6:09 
Hi guys,

I have an application tool which needs to safely and effectively close down other applications. I have seen a few posts on here about getting the PROCESSENTRY32 structure and then issuing a TerminateProcess command on it, however, this doesn't seem the safest method. Using SendMessage(WM_CLOSE,0,0) appears to be a safer option. Therefore my question is: is it possible to get a window handle to the main window created by a known PROCESSENTRY32 structure?

Thanks in advance,

Simon
AnswerRe: Safely closing a process Pin
bugDanny1-Sep-05 9:51
bugDanny1-Sep-05 9:51 
AnswerRe: Safely closing a process Pin
ThatsAlok2-Sep-05 20:50
ThatsAlok2-Sep-05 20:50 
QuestionDCOM vs CORBA for distributed computing? Pin
Nemanja Trifunovic1-Sep-05 6:02
Nemanja Trifunovic1-Sep-05 6:02 
AnswerRe: DCOM vs CORBA for distributed computing? Pin
Zdeslav Vojkovic1-Sep-05 7:41
Zdeslav Vojkovic1-Sep-05 7:41 
GeneralRe: DCOM vs CORBA for distributed computing? Pin
Nemanja Trifunovic1-Sep-05 7:47
Nemanja Trifunovic1-Sep-05 7:47 
AnswerRe: DCOM vs CORBA for distributed computing? Pin
Roland Pibinger1-Sep-05 12:53
Roland Pibinger1-Sep-05 12:53 
GeneralRe: DCOM vs CORBA for distributed computing? Pin
Nemanja Trifunovic1-Sep-05 15:32
Nemanja Trifunovic1-Sep-05 15:32 
AnswerRe: DCOM vs CORBA for distributed computing? Pin
Bob Stanneveld1-Sep-05 19:33
Bob Stanneveld1-Sep-05 19:33 
QuestionTitle bar( caption bar) whith menu Pin
Neagoe Gabriel1-Sep-05 4:51
Neagoe Gabriel1-Sep-05 4:51 
Question#define syntax for create a class instance Pin
hyling1-Sep-05 4:19
hyling1-Sep-05 4:19 
AnswerRe: #define syntax for create a class instance Pin
toxcct1-Sep-05 4:36
toxcct1-Sep-05 4:36 
GeneralRe: #define syntax for create a class instance Pin
hyling1-Sep-05 6:42
hyling1-Sep-05 6:42 
AnswerRe: #define syntax for create a class instance Pin
Neagoe Gabriel1-Sep-05 4:53
Neagoe Gabriel1-Sep-05 4:53 
GeneralRe: #define syntax for create a class instance Pin
hyling1-Sep-05 6:44
hyling1-Sep-05 6:44 
GeneralRe: #define syntax for create a class instance Pin
Anonymous1-Sep-05 7:50
Anonymous1-Sep-05 7:50 
GeneralRe: #define syntax for create a class instance Pin
hyling2-Sep-05 7:32
hyling2-Sep-05 7:32 
QuestionControl's Coordinates Pin
Anonymous1-Sep-05 3:32
Anonymous1-Sep-05 3:32 

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.