From: Ralph T. <ra...@us...> - 2006-01-24 02:47:29
|
Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/future/widgets/sources/win In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29416/adobe-source/adobe/future/widgets/sources/win Modified Files: ui_core_implementation.cpp Log Message: Controls inside groups now get events passed back to them (by the group's window procedure). The group now uses the container_window_proc which uses event_dispatcher_t to look up a control_t* from a child_id (part of the WM_NOTIFY and WM_COMMAND messages). It then passes the message to the control_t. Previously only some WM_COMMAND messages were being passed back which was resulting in popup widgets not being notified when they were changed. Index: ui_core_implementation.cpp =================================================================== RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/future/widgets/sources/win/ui_core_implementation.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ui_core_implementation.cpp 19 Jan 2006 00:09:44 -0000 1.8 --- ui_core_implementation.cpp 24 Jan 2006 02:47:19 -0000 1.9 *************** *** 1,4480 **** ! /* ! Copyright 2005-2006 Adobe Systems Incorporated ! Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt ! or a copy at http://opensource.adobe.com/licenses.html) ! */ ! ! /****************************************************************************************************/ ! ! #include "ui_core_implementation.hpp" ! #include "ui_core_common.hpp" [...8910 lines suppressed...] ! ! display_t::position_t result; ! ! // if (scroll_ref) result = display.insert<HWND>(parent, scroll_ref); ! // else ! result = display.insert<HWND>(parent, ref); ! ! if (label_ref) display.insert<HWND>(parent, label_ref); ! if (static_disable_ref) display.insert<HWND>(parent, static_disable_ref); ! if (popup_static_disable_ref) display.insert<HWND>(parent, popup_static_disable_ref); ! if (popup_ref) display.insert<HWND>(parent, popup_ref); ! ! return result; ! } ! ! /****************************************************************************************************/ ! ! } // namespace adobe ! ! /****************************************************************************************************/ |