BEGIN_EVENT_MAP(theClass, baseClass ) 參數 theClass 指定事件對應這是控制項類別的名稱。 baseClass 指定theClass基底類別的名稱。 備註 在定義的實作 (.cpp) 檔中這個成員為您的類別函式,開始與BEGIN_EVENT_MAP巨集對應的事件,然後將的巨集輸入每個事件,然後利用END_EVENT_MAP巨集對應的事件。
Use theBEGIN_EVENT_MAPmacro to begin the definition of your event map. In the implementation (.CPP) file that defines the member functions for your class, start the event map with theBEGIN_EVENT_MAPmacro, then add macro entries for each of your events, and complete the event map with the...
BEGIN_DHTML_EVENT_MAP(className ) 参数className 包含DHTML 事件映射的类的名称。此类应从 CDHtmlDialog 直接或间接派生并包含在其类定义中的 DECLARE_DHTML_EVENT_MAP 宏。备注添加DHTML 事件映射到您的类提供信息可用于将 HTML 元素或 Activex 控件激发的事件在网页添加到处理程序函数在类中 CDHtmlDialog。将BEGIN...
BEGIN_EVENTSINK_MAP(theClass, baseClass ) Параметры theClass Задаетимяклассаэлементауправления, этосопоставлениеприемникасобытий. baseClass Указываетимябазовогокласса th...
EventMap::const_iterator it = event_map.begin();for(; it != event_map.end(); ++it) { fwrite(&it->second.ts,sizeof(timeval),1, fp); fwrite(&it->second.len,sizeof(int),1, fp); fwrite(&it->second.pkt,1, it->second.len, fp); ...
Marks the beginning of the DHTML event map within the class definition for className. 复制 BEGIN_DHTML_EVENT_MAP_INLINE(className ) Parameters className The name of the class containing the DHTML event map. This class should derive directly or indirectly fromCDHtmlDialogand include theDECLARE_DHTML...
BEGIN_DISPATCH_MAP BEGIN_EMBED_DHTML_EVENT_MAP BEGIN_EVENT_MAP BEGIN_EVENTSINK_MAP BEGIN_INTERFACE_MAP BEGIN_MESSAGE_MAP BEGIN_TEMPLATE_MESSAGE_MAP BEGIN_OLEFACTORY BEGIN_PROPPAGEIDS BEGIN_URL_ENTRIES CATCH CATCH_ALL CommandHandler 委派 CommandUIHandler 委派 ...
("Next"), OnPage2Next) END_EMBED_DHTML_EVENT_MAP() BEGIN_EMBED_DHTML_EVENT_MAP(CMyMultiPageDlg, Page3) DHTML_EVENT_ONCLICK(_T("Back"), OnPage3Back) END_EMBED_DHTML_EVENT_MAP() BEGIN_URL_ENTRIES(CMyMultiPageDlg) URL_EVENT_ENTRY(CMyMultiPageDlg, _T("153"), Page1) URL_EVENT_...
Add a DHTML event map to your class to provide information toCDHtmlDialogthat can be used to route events fired by HTML elements or ActiveX controls in a web page to handler functions in your class. Place theBEGIN_DHTML_EVENT_MAPmacro in the class's definition (.h) file followed byDHTML...
BEGIN_EVENT_MAP BEGIN_EVENTSINK_MAP BEGIN_INTERFACE_MAP BEGIN_MESSAGE_MAP BEGIN_TEMPLATE_MESSAGE_MAP BEGIN_OLEFACTORY BEGIN_PROPPAGEIDS BEGIN_URL_ENTRIES CATCH CATCH_ALL CommandHandler Delegate CommandUIHandler Delegate CompareElements CopyElements CONNECTION_IID CONNECTION_PART DDP_CBIndex DDP_CBString DD...