Click here to Skip to main content
15,899,020 members
Home / Discussions / Windows Forms
   

Windows Forms

 
Questionclick A button Upon giving its handle ? Pin
jadothebest15-Oct-07 9:58
jadothebest15-Oct-07 9:58 
AnswerRe: click A button Upon giving its handle ? Pin
TJoe15-Oct-07 10:32
TJoe15-Oct-07 10:32 
GeneralRe: click A button Upon giving its handle ? Pin
jadothebest15-Oct-07 11:58
jadothebest15-Oct-07 11:58 
QuestionAfter a keyboard hook, GetTopWindow returns the window for ctfmon.exe Pin
alex_bol15-Oct-07 8:35
alex_bol15-Oct-07 8:35 
AnswerRe: After a keyboard hook, GetTopWindow returns the window for ctfmon.exe Pin
Dave Kreskowiak15-Oct-07 10:05
mveDave Kreskowiak15-Oct-07 10:05 
QuestionHow can i intercept Escape button in dialog form? Pin
wolfgangpuelm15-Oct-07 3:10
professionalwolfgangpuelm15-Oct-07 3:10 
AnswerRe: How can i intercept Escape button in dialog form? Pin
Giorgi Dalakishvili15-Oct-07 3:42
mentorGiorgi Dalakishvili15-Oct-07 3:42 
GeneralRe: How can i intercept Escape button in dialog form? Pin
wolfgangpuelm15-Oct-07 4:12
professionalwolfgangpuelm15-Oct-07 4:12 
Hi,

thank you very much for your propmpt answer!

But I'm afraid that's not my problem since the default event handler gives me no chance to remove this event (ESC pressed) from the form's message processing queue. That means the dialog will be inevitably be closed and that's what i'm trying to prevent if desired by user input. If this handler had a KeyEventArgs parameter instead of a EventArgs, the KeyEventArgs.Handled property could be set to true which might do the job (if it's passed by reference). Unfortunately, the event handler is implemented as it is.

Once again, thank you for your effort!

Regards

Wolfgang Puelm
AnswerRe: How can i intercept Escape button in dialog form? Pin
Mike Dimmick15-Oct-07 4:14
Mike Dimmick15-Oct-07 4:14 
AnswerRe: How can i intercept Escape button in dialog form? Pin
wolfgangpuelm15-Oct-07 4:39
professionalwolfgangpuelm15-Oct-07 4:39 
Questioncreating new shell for windows Pin
sresth14-Oct-07 17:52
sresth14-Oct-07 17:52 
AnswerRe: creating new shell for windows Pin
Pete O'Hanlon15-Oct-07 1:13
mvePete O'Hanlon15-Oct-07 1:13 
AnswerRe: creating new shell for windows Pin
TyrionTheImp15-Oct-07 21:00
TyrionTheImp15-Oct-07 21:00 
QuestionHow to highlight an item in the ListBox control Pin
Mike Borozdin14-Oct-07 5:19
Mike Borozdin14-Oct-07 5:19 
AnswerRe: How to highlight an item in the ListBox control Pin
Mike Borozdin14-Oct-07 7:20
Mike Borozdin14-Oct-07 7:20 
QuestionHow to get HWND from System::Windows::Forms::Panel^ panel [modified] Pin
Newbie0014-Oct-07 0:05
Newbie0014-Oct-07 0:05 
QuestionText in label is mangled Pin
sudhirkamath9-Oct-07 9:40
sudhirkamath9-Oct-07 9:40 
AnswerRe: Text in label is mangled Pin
Paul Conrad27-Oct-07 13:37
professionalPaul Conrad27-Oct-07 13:37 
QuestionBackup Database Using Threads Pin
jikubhai9-Oct-07 4:25
jikubhai9-Oct-07 4:25 
AnswerRe: Backup Database Using Threads Pin
Koltz11-Oct-07 20:57
Koltz11-Oct-07 20:57 
QuestionLock Menus/Toolbars on Window Scroll Pin
Elizma9-Oct-07 0:57
Elizma9-Oct-07 0:57 
AnswerRe: Lock Menus/Toolbars on Window Scroll Pin
Dave Kreskowiak9-Oct-07 6:41
mveDave Kreskowiak9-Oct-07 6:41 
QuestionAppBars & the ShowDesktop command Pin
TyrionTheImp8-Oct-07 19:33
TyrionTheImp8-Oct-07 19:33 
QuestionPass handle to form Pin
mjanssen6-Oct-07 9:02
mjanssen6-Oct-07 9:02 
AnswerRe: Pass handle to form Pin
Kristian Sixhøj6-Oct-07 9:13
Kristian Sixhøj6-Oct-07 9:13 

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.