Click here to Skip to main content
15,888,124 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionwho has hand punch 3000 Code In .net 2008 ?? Pin
Salehtel3-May-09 3:24
Salehtel3-May-09 3:24 
AnswerRe: who has hand punch 3000 Code In .net 2008 ?? Pin
Dave Kreskowiak4-May-09 4:18
mveDave Kreskowiak4-May-09 4:18 
GeneralRe: who has hand punch 3000 Code In .net 2008 ?? Pin
Salehtel5-May-09 9:08
Salehtel5-May-09 9:08 
GeneralRe: who has hand punch 3000 Code In .net 2008 ?? Pin
Dave Kreskowiak5-May-09 10:03
mveDave Kreskowiak5-May-09 10:03 
GeneralRe: who has hand punch 3000 Code In .net 2008 ?? Pin
Pete O'Hanlon5-May-09 10:07
mvePete O'Hanlon5-May-09 10:07 
GeneralRe: who has hand punch 3000 Code In .net 2008 ?? Pin
Dave Kreskowiak5-May-09 10:39
mveDave Kreskowiak5-May-09 10:39 
QuestionDetecting the creation of a dialog Pin
PHinker2-May-09 9:18
PHinker2-May-09 9:18 
AnswerRe: Detecting the creation of a dialog Pin
Dave Kreskowiak2-May-09 16:34
mveDave Kreskowiak2-May-09 16:34 
PHinker wrote:
The only thing I've found so far that might be able to do this is the windows hooks stuff by the cutting edge folks (http://msdn.microsoft.com/en-us/magazine/cc188966.aspx[^]).

This seems a little intrusive for what I need. I don't need to get in the call chain for a dialog, just need to be notified when one gets created. I've got to be missing something obvious.


The hook is the only way to get "notified" of the creation of a dialog.

The only other way to do it would be to constantly pool and use the GetWindow and FindWindow Win32 functions to get all of the windows in the system. Keep track of them, and scan again, comparing the new list of windows to the previous one. When you find a new window, there you go...


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Detecting the creation of a dialog Pin
PHinker2-May-09 17:09
PHinker2-May-09 17:09 
AnswerRe: Detecting the creation of a dialog Pin
mike.james17-Jul-09 22:07
mike.james17-Jul-09 22:07 
Question.NET 2.0 application cold-start time [modified] Pin
Adrian Cole30-Apr-09 12:42
Adrian Cole30-Apr-09 12:42 
AnswerRe: .NET 2.0 application cold-start time Pin
Dave Kreskowiak30-Apr-09 14:02
mveDave Kreskowiak30-Apr-09 14:02 
QuestionProblem with setup project Pin
Narendra Reddy Vajrala30-Apr-09 0:30
Narendra Reddy Vajrala30-Apr-09 0:30 
AnswerRe: Problem with setup project Pin
led mike30-Apr-09 4:48
led mike30-Apr-09 4:48 
AnswerRe: Problem with setup project Pin
Rolando CC30-Apr-09 6:49
professionalRolando CC30-Apr-09 6:49 
QuestionProblem in updation from 2002 to 2005 Pin
002comp29-Apr-09 21:30
002comp29-Apr-09 21:30 
AnswerRe: Problem in updation from 2002 to 2005 Pin
saanj29-Apr-09 23:50
saanj29-Apr-09 23:50 
AnswerRe: Problem in updation from 2002 to 2005 Pin
Kevin McFarlane4-May-09 2:17
Kevin McFarlane4-May-09 2:17 
QuestionBizTalk Server With ISO 8583 Pin
Member 457744829-Apr-09 21:25
Member 457744829-Apr-09 21:25 
Question.NET mobile camera Pin
2_Raptor_229-Apr-09 17:39
2_Raptor_229-Apr-09 17:39 
AnswerRe: .NET mobile camera Pin
David Muir30-Apr-09 22:05
David Muir30-Apr-09 22:05 
Questionneed prog Pin
raviraazk29-Apr-09 6:20
raviraazk29-Apr-09 6:20 
AnswerRe: need prog Pin
0x3c029-Apr-09 10:39
0x3c029-Apr-09 10:39 
GeneralRe: need prog Pin
raviraazk30-Apr-09 2:32
raviraazk30-Apr-09 2:32 
GeneralRe: need prog Pin
Mycroft Holmes2-May-09 21:09
professionalMycroft Holmes2-May-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.