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

.NET (Core and Framework)

 
AnswerRe: Need help with Insert, Delete and update commands in VB.NET Pin
Not Active4-May-09 2:34
mentorNot Active4-May-09 2:34 
QuestionRe: Need help with Insert, Delete and update commands in VB.NET Pin
davos14-May-09 2:38
davos14-May-09 2:38 
AnswerRe: Need help with Insert, Delete and update commands in VB.NET Pin
Not Active4-May-09 2:50
mentorNot Active4-May-09 2:50 
QuestionRe: Need help with Insert, Delete and update commands in VB.NET Pin
davos14-May-09 2:56
davos14-May-09 2:56 
AnswerRe: Need help with Insert, Delete and update commands in VB.NET Pin
Not Active4-May-09 3:19
mentorNot Active4-May-09 3:19 
QuestionRe: Need help with Insert, Delete and update commands in VB.NET Pin
davos14-May-09 3:20
davos14-May-09 3:20 
AnswerRe: Need help with Insert, Delete and update commands in VB.NET Pin
Not Active4-May-09 3:51
mentorNot Active4-May-09 3:51 
GeneralRe: Need help with Insert, Delete and update commands in VB.NET Pin
davos14-May-09 3:53
davos14-May-09 3:53 
QuestionParsing C# source code using CodeModel object to find TYPE PARAMETERS & TYPE PARAMETER constraints defined for a Generic Class & Method. Pin
Manish Paul4-May-09 1:58
Manish Paul4-May-09 1:58 
AnswerRe: Parsing C# source code using CodeModel object to find TYPE PARAMETERS & TYPE PARAMETER constraints defined for a Generic Class & Method. Pin
Henry Minute4-May-09 3:22
Henry Minute4-May-09 3:22 
QuestionActiveDirectory Pin
miniThomas3-May-09 22:06
miniThomas3-May-09 22:06 
AnswerRe: ActiveDirectory Pin
Dave Kreskowiak4-May-09 4:19
mveDave Kreskowiak4-May-09 4:19 
GeneralRe: ActiveDirectory Pin
miniThomas4-May-09 20:48
miniThomas4-May-09 20:48 
GeneralRe: ActiveDirectory Pin
Dave Kreskowiak5-May-09 17:09
mveDave Kreskowiak5-May-09 17:09 
Questionhide taskbar Pin
hrishiS3-May-09 21:12
hrishiS3-May-09 21:12 
AnswerRe: hide taskbar Pin
Dave Kreskowiak4-May-09 4:18
mveDave Kreskowiak4-May-09 4:18 
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 

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.