duilib消息

 #define DUI_MSGTYPE_MENU                   (_T("menu"))
 #define DUI_MSGTYPE_LINK                   (_T("link"))
 #define DUI_MSGTYPE_TIMER                  (_T("timer"))
 #define DUI_MSGTYPE_CLICK                  (_T("click"))
 #define DUI_MSGTYPE_TAB        (_T("tab"))
 #define DUI_MSGTYPE_RETURN                 (_T("return"))
 #define DUI_MSGTYPE_SCROLL                 (_T("scroll"))     UIScrollBar
 #define DUI_MSGTYPE_DROPDOWN               (_T("dropdown"))   Combo
 #define DUI_MSGTYPE_SETFOCUS               (_T("setfocus"))  
 #define DUI_MSGTYPE_KILLFOCUS              (_T("killfocus"))  UIMANAGE 管理
 #define DUI_MSGTYPE_ITEMCLICK          (_T("itemclick"))  UIList
 #define DUI_MSGTYPE_TABSELECT              (_T("tabselect"))  UITabLayout
 #define DUI_MSGTYPE_ITEMSELECT          (_T("itemselect"))  Combo  UIList
 #define DUI_MSGTYPE_ITEMEXPAND             (_T("itemexpand"))
 #define DUI_MSGTYPE_WINDOWINIT             (_T("windowinit"))
 #define DUI_MSGTYPE_BUTTONDOWN          (_T("buttondown"))
 #define DUI_MSGTYPE_MOUSEENTER      (_T("mouseenter"))
 #define DUI_MSGTYPE_MOUSELEAVE      (_T("mouseleave"))
 #define DUI_MSGTYPE_TEXTCHANGED            (_T("textchanged"))   UIEDIT:
 #define DUI_MSGTYPE_HEADERCLICK            (_T("headerclick"))
 #define DUI_MSGTYPE_ITEMDBCLICK            (_T("itemdbclick"))
 #define DUI_MSGTYPE_SHOWACTIVEX            (_T("showactivex"))
 #define DUI_MSGTYPE_ITEMCOLLAPSE           (_T("itemcollapse"))
 #define DUI_MSGTYPE_ITEMACTIVATE           (_T("itemactivate"))
 #define DUI_MSGTYPE_VALUECHANGED           (_T("valuechanged"))
   
 #define DUI_MSGTYPE_SELECTCHANGED      (_T("selectchanged"))  option消息可以控制tab选项
 左键按下,右键按下,tab切换焦点,快捷键
      绘制,激活,分组
      
  
     WM_CLOSE
     WM_SYSKEYDOWN
     WM_SIZE
     WM_TIMER
     WM_MOUSEHOVER
     WM_LBUTTONDOWN
     WM_LBUTTONDBLCLK
     WM_LBUTTONUP
     WM_RBUTTONDOWN
     WM_CONTEXTMENU
     WM_MOUSEWHEEL
     WM_CHAR
     WM_KEYUP
     WM_SETCURSOR
   
     button 状态  先焦点再按压
    UIEVENT_BUTTONDOWN ||  UIEVENT_DBLCLICK    m_uButtonState |= UISTATE_PUSHED
    鼠标弹起和按键按下有激活click
    鼠标进入是hot

你可能感兴趣的:(duilib)