Click here to Skip to main content
15,915,611 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: declare, define, and call of a function passing two dimensional arrays Pin
David Crow6-May-10 3:13
David Crow6-May-10 3:13 
GeneralRe: declare, define, and call of a function passing two dimensional arrays Pin
mrby1236-May-10 7:19
mrby1236-May-10 7:19 
Questionhow make limit running my program? Pin
Rezame5-May-10 6:05
Rezame5-May-10 6:05 
AnswerRe: how make limit running my program? Pin
Maximilien5-May-10 6:24
Maximilien5-May-10 6:24 
GeneralRe: how make limit running my program? Pin
Rezame5-May-10 6:29
Rezame5-May-10 6:29 
GeneralRe: how make limit running my program? Pin
CPallini5-May-10 8:09
mveCPallini5-May-10 8:09 
QuestionHow to get A WindowHandle from a process Id Pin
Rajmohan SK5-May-10 1:56
Rajmohan SK5-May-10 1:56 
AnswerRe: How to get A WindowHandle from a process Id Pin
Code-o-mat5-May-10 2:10
Code-o-mat5-May-10 2:10 
Which window handle? There are usually more windows belonging to a process (e.g. controls on a dialog like buttons, edit fields have a window handle too). Anyways, i assume you are looking for a top level popup window, one method would be to enumerate all the windows, for example using EnumWindows[^], on every window you could call GetWindowThreadProcessId[^] to get the id of the process the window belongs to and test for equality...
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <

AnswerRe: How to get A WindowHandle from a process Id Pin
Member 39226395-May-10 2:11
Member 39226395-May-10 2:11 
GeneralRe: How to get A WindowHandle from a process Id Pin
Rajmohan SK6-May-10 3:28
Rajmohan SK6-May-10 3:28 
AnswerRe: How to get A WindowHandle from a process Id Pin
Cvaji5-May-10 2:13
Cvaji5-May-10 2:13 
AnswerRe: How to get A WindowHandle from a process Id Pin
CPallini5-May-10 2:14
mveCPallini5-May-10 2:14 
AnswerRe: How to get A WindowHandle from a process Id Pin
Michel Godfroid5-May-10 2:20
Michel Godfroid5-May-10 2:20 
AnswerRe: How to get A WindowHandle from a process Id Pin
Rajmohan SK5-May-10 2:31
Rajmohan SK5-May-10 2:31 
QuestionRe: How to get A WindowHandle from a process Id Pin
Rajmohan SK6-May-10 18:16
Rajmohan SK6-May-10 18:16 
QuestionDLL and Pure Virtual Function Pin
john56325-May-10 1:52
john56325-May-10 1:52 
AnswerRe: DLL and Pure Virtual Function Pin
CPallini5-May-10 2:18
mveCPallini5-May-10 2:18 
GeneralRe: DLL and Pure Virtual Function Pin
john56325-May-10 7:15
john56325-May-10 7:15 
QuestionGet System Shutdown notification Pin
Cvaji5-May-10 1:41
Cvaji5-May-10 1:41 
AnswerRe: Get System Shutdown notification Pin
Cvaji5-May-10 1:54
Cvaji5-May-10 1:54 
GeneralRe: Get System Shutdown notification Pin
Member 39226395-May-10 2:20
Member 39226395-May-10 2:20 
Questionstatic variable Vs Global Variable Pin
Game-point5-May-10 1:06
Game-point5-May-10 1:06 
AnswerRe: static variable Vs Global Variable Pin
Rajesh R Subramanian5-May-10 1:16
professionalRajesh R Subramanian5-May-10 1:16 
AnswerRe: static variable Vs Global Variable Pin
«_Superman_»5-May-10 6:37
professional«_Superman_»5-May-10 6:37 
QuestionWriteFile / CreateThread Pin
Fareed Rizkalla5-May-10 0:15
Fareed Rizkalla5-May-10 0:15 

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.