Page 4 of 4
Re: Deactivation of main or context menu
Posted: Thu Apr 29, 2010 10:13 pm
by Roberto Lopez
Czarny_Pijar wrote:
Imagine this situation: The seller counted the whole shopping cart, now he wants to print the bill, therefore he has moved to the menu. Suddenly the customer wants one more chewing gum for the child ... Do you start with the whole bill from the beginning?
I never define <Esc> key to close a window without a conformation from the user part. That is a (IMHO) terrible practice.
Czarny_Pijar wrote:
PS
Hurray! The post number 10.000 is mine!

Ouch!... I've was waiting for it

Re: Deactivation of main or context menu
Posted: Fri Apr 30, 2010 12:11 am
by Roberto Lopez
Roberto Lopez wrote:
Czarny_Pijar wrote:
PS
Hurray! The post number 10.000 is mine!

Ouch!... I've was waiting for it

And... today was the most successful day (user count online) from the forum start!
Most users ever online was 38 on Thu Apr 29, 2010 9:27 pm
Re: Deactivation of main or context menu
Posted: Fri Apr 30, 2010 1:29 am
by Roberto Lopez
Roberto Lopez wrote:
Grigory,
Not all MessageBox styles process Esc key.
According MSDN Esc key should be functional only when the MessageBox window has a <cancel> button, but this is not true.
The bottom line is that MessageBoxes processing Esc key will make SC_CLOSE (WM_SYSCOMMAND) message useless to close a window.
Have you any clue about this?
I'll still researching...
I've just fixed this too.
The problem comes from an old fix (SplitBox Child EditBox) in the WM_CLOSE message processing.
Re: Deactivation of main or context menu
Posted: Fri Apr 30, 2010 1:58 am
by Roberto Lopez
Roberto Lopez wrote:
The problem comes from an old fix (SplitBox Child EditBox) in the WM_CLOSE message processing.
The cause for the original problem is the following:
Whenever you press Escape in a multiline edit control it sends a WM_CLOSE message to its parent. Both the regular edit control and the rich edit control have this problem. This is by Microsoft design.
Anyway, I'll must work it a little more to assure that two fixes be able to coexists...
Re: Deactivation of main or context menu
Posted: Fri Apr 30, 2010 6:57 am
by Alex Gustow
10 000 posts!!! Congratulations, HMG-brothers! We did it!
And the winner iiiiiisss...
Czarny_Pijar !!!

Re: Deactivation of main or context menu
Posted: Fri Apr 30, 2010 7:48 am
by Rathinagiri
Alex Gustow wrote:10 000 posts!!! Congratulations, HMG-brothers! We did it!
And the winner iiiiiisss...
Czarny_Pijar !!!

YES!
Re: Deactivation of main or context menu
Posted: Fri May 07, 2010 5:42 am
by mol
Hi guys!
This is my first post from a week.
I want to thank all of you working about problem posted by me...
I'm glad to see how our forum grows!