[ros-bugs] [Bug 5281] WIP: Ctrl+C on MessageBox

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sun Apr 15 08:07:37 UTC 2012


http://www.reactos.org/bugzilla/show_bug.cgi?id=5281





--- Comment #8 from Prodito <prodito at live.com>  2012-04-15 08:07:36 CET ---
Created an attachment (id=7578)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=7578)
New clean patch

Hi, i'm starting with the ReactOS project and i found this a nice way to start
some coding, i've modified the "the fixed patch", here are the details:

1. No more stranges wndproc for buttons.
2. Buffer size calculation done in a clean way.
3. This is done in a windows-like way, how it's done? when the user press
Ctrl+C the DialogBox loop sends a WM_COPY message to the MessageBox window,
then the MessageBox code will do the job.
4. The code is now using GetKeyState instead of GetAsyncKeyState, see
http://blogs.msdn.com/b/oldnewthing/archive/2004/11/30/272262.aspx.

Tested with ReactOS r56339.

Btw, this is my first patch ever, so i hope everything is fine.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list