首页 > 代码库 > [转]windows控件消息和控件通知消息大全

[转]windows控件消息和控件通知消息大全

本篇文章主要介绍了"windows控件消息和控件通知消息大全",主要涉及到windows控件消息和控件通知消息大全方面的内容,对于windows控件消息和控件通知消息大全感兴趣的同学可以参考一下。

 

Edit   Control   Notification   Codes   
EN_SETFOCUS       
EN_KILLFOCUS     
EN_CHANGE           
EN_UPDATE           
EN_ERRSPACE       
EN_MAXTEXT         
EN_HSCROLL         
EN_VSCROLL         
Edit   Control   Messages   
EM_GETSEL                               
EM_SETSEL                               
EM_GETRECT                             
EM_SETRECT                             
EM_SETRECTNP                         
EM_SCROLL                               
EM_LINESCROLL                       
EM_SCROLLCARET                     
EM_GETMODIFY                         
EM_SETMODIFY                         
EM_GETLINECOUNT                   
EM_LINEINDEX                         
EM_SETHANDLE                         
EM_GETHANDLE                         
EM_GETTHUMB                           
EM_LINELENGTH                       
EM_REPLACESEL                       
EM_GETLINE                             
EM_LIMITTEXT                         
EM_CANUNDO                             
EM_UNDO                                   
EM_FMTLINES                           
EM_LINEFROMCHAR                   
EM_SETTABSTOPS                     
EM_SETPASSWORDCHAR             
EM_EMPTYUNDOBUFFER             
EM_GETFIRSTVISIBLELINE     
EM_SETREADONLY                     
EM_SETWORDBREAKPROC           
EM_GETWORDBREAKPROC           
EM_GETPASSWORDCHAR             
EM_SETMARGINS               
EM_GETMARGINS               
EM_SETLIMITTEXT           
EM_GETLIMITTEXT           
EM_POSFROMCHAR             
EM_CHARFROMPOS             
EM_SETIMESTATUS   
EM_GETIMESTATUS   

User   Button   Notification   Codes   
BN_CLICKED                     
BN_PAINT                         
BN_HILITE                       
BN_UNHILITE                   
BN_DISABLE                     
BN_DOUBLECLICKED         
BN_PUSHED                       
BN_UNPUSHED                   
BN_DBLCLK                       
BN_SETFOCUS                   
BN_KILLFOCUS                 
Button   Control   Messages   
BM_GETCHECK                 
BM_SETCHECK                 
BM_GETSTATE                 
BM_SETSTATE                 
BM_SETSTYLE                 
BM_CLICK                       
BM_GETIMAGE                 
BM_SETIMAGE                 
BST_UNCHECKED             
BST_CHECKED                 
BST_INDETERMINATE     
BST_PUSHED                   
BST_FOCUS    
         
Static   Control   Message   
STM_SETICON                 
STM_GETICON                 
STM_SETIMAGE               
STM_GETIMAGE               
STN_CLICKED                 
STN_DBLCLK                   
STN_ENABLE                   
STN_DISABLE                 
STM_MSGMAX          
   
Listbox   Notification   Codes   
LBN_ERRSPACE             
LBN_SELCHANGE           
LBN_DBLCLK                 
LBN_SELCANCEL           
LBN_SETFOCUS             
LBN_KILLFOCUS     
      
Listbox   messages   
LB_ADDSTRING                         
LB_INSERTSTRING                   
LB_DELETESTRING                   
LB_SELITEMRANGEEX               
LB_RESETCONTENT                   
LB_SETSEL                               
LB_SETCURSEL                         
LB_GETSEL                               
LB_GETCURSEL                         
LB_GETTEXT                             
LB_GETTEXTLEN                       
LB_GETCOUNT                           
LB_SELECTSTRING                   
LB_DIR                                     
LB_GETTOPINDEX                     
LB_FINDSTRING                       
LB_GETSELCOUNT                     
LB_GETSELITEMS                     
LB_SETTABSTOPS                     
LB_GETHORIZONTALEXTENT     
LB_SETHORIZONTALEXTENT     
LB_SETCOLUMNWIDTH               
LB_ADDFILE                             
LB_SETTOPINDEX                     
LB_GETITEMRECT                     
LB_GETITEMDATA                     
LB_SETITEMDATA                     
LB_SELITEMRANGE                   
LB_SETANCHORINDEX               
LB_GETANCHORINDEX               
LB_SETCARETINDEX                 
LB_GETCARETINDEX                 
LB_SETITEMHEIGHT                 
LB_GETITEMHEIGHT                 
LB_FINDSTRINGEXACT             
LB_SETLOCALE                         
LB_GETLOCALE                         
LB_SETCOUNT                           
LB_INITSTORAGE                     
LB_ITEMFROMPOINT                 
LB_MSGMAX                               
LB_MSGMAX     
                          
Combo   Box   Notification   Codes   
CBN_ERRSPACE             
CBN_SELCHANGE           
CBN_DBLCLK                 
CBN_SETFOCUS             
CBN_KILLFOCUS           
CBN_EDITCHANGE         
CBN_EDITUPDATE         
CBN_DROPDOWN             
CBN_CLOSEUP               
CBN_SELENDOK             
CBN_SELENDCANCEL
  
Combo   Box   messages   
NOWINMESSAGES   
CB_GETEDITSEL                             
CB_LIMITTEXT                               
CB_SETEDITSEL                             
CB_ADDSTRING                               
CB_DELETESTRING                         
CB_DIR                                           
CB_GETCOUNT                                 
CB_GETCURSEL                               
CB_GETLBTEXT                               
CB_GETLBTEXTLEN                         
CB_INSERTSTRING                         
CB_RESETCONTENT                         
CB_FINDSTRING                             
CB_SELECTSTRING                         
CB_SETCURSEL                               
CB_SHOWDROPDOWN                         
CB_GETITEMDATA                           
CB_SETITEMDATA                           
CB_GETDROPPEDCONTROLRECT       
CB_SETITEMHEIGHT                       
CB_GETITEMHEIGHT                       
CB_SETEXTENDEDUI                       
CB_GETEXTENDEDUI                       
CB_GETDROPPEDSTATE                   
CB_FINDSTRINGEXACT                   
CB_SETLOCALE                               
CB_GETLOCALE                               
CB_GETTOPINDEX                           
CB_SETTOPINDEX                           
CB_GETHORIZONTALEXTENT           
CB_SETHORIZONTALEXTENT           
CB_GETDROPPEDWIDTH                   
CB_SETDROPPEDWIDTH                   
CB_INITSTORAGE                           
CB_MSGMAX                                     
CB_MSGMAX       
                              
Scroll   bar   messages   
SBM_SETPOS                                   
SBM_GETPOS                                   
SBM_SETRANGE                               
SBM_SETRANGEREDRAW                   
SBM_GETRANGE                               
SBM_ENABLE_ARROWS                     
SBM_SETSCROLLINFO                     
SBM_GETSCROLLINFO     
              
Date   Time   Picker   Message   
DTM_GETMCCOLOR   
DTM_GETMCFONT   
DTM_GETMONTHCAL   
DTM_GETRANGE   
DTM_GETSYSTEMTIME   
DTM_SETFORMAT   
DTM_SETMCCOLOR   
DTM_SETMCFONT   
DTM_SETRANGE   
DTM_SETSYSTEMTIME   

Date   Time   Picker   Notifications   
DTN_CLOSEUP   
DTN_DATETIMECHANGE   
DTN_DROPDOWN   
DTN_FORMAT   
IP   Address   Control   
IPM_CLEARADDRESS   
IPM_GETADDRESS   
IPM_ISBLANK   
IPM_SETADDRESS   
IPM_SETFOCUS   
IPM_SETRANGE   

IP   Address   Control   Notifications   
IPN_FIELDCHANGED   

Month   Calendar   Control   Messages   
MCM_GETCOLOR   
MCM_GETCURSEL   
MCM_GETFIRSTDAYOFWEEK   
MCM_GETMAXSELCOUNT   
MCM_GETMAXTODAYWIDTH   
MCM_GETMINREQRECT   
MCM_GETMONTHDELTA   
MCM_GETMONTHRANGE   
MCM_GETRANGE   
MCM_GETSELRANGE   
MCM_GETTODAY   
MCM_GETUNICODEFORMAT   
MCM_HITTEST   
MCM_SETCOLOR   
MCM_SETCURSEL   
MCM_SETDAYSTATE   
MCM_SETFIRSTDAYOFWEEK   
MCM_SETMAXSELCOUNT   
MCM_SETMONTHDELTA   
MCM_SETRANGE   
MCM_SETSELRANGE     
MCM_SETTODAY   
MCM_SETUNICODEFORMAT  
 
Month   Calendar   Control   Notification   Messages   
MCN_GETDAYSTATE   
MCN_SELCHANGE   
MCN_SELECT   
NM_RELEASEDCAPTURE   

Progress   Bar   Control   Messages   
PBM_DELTAPOS   
PBM_GETPOS   
PBM_GETRANGE   
PBM_SETBARCOLOR   
PBM_SETBKCOLOR   
PBM_SETPOS   
PBM_SETRANGE   
PBM_SETRANGE32   
PBM_SETSTEP   
PBM_STEPIT   

Pager   Control   Messages   
PGM_FORWARDMOUSE   
PGM_GETBKCOLOR   
PGM_GETBORDER   
PGM_GETBUTTONSIZE   
PGM_GETBUTTONSTATE   
PGM_GETDROPTARGET   
PGM_GETPOS   
PGM_RECALCSIZE   
PGM_SETBKCOLOR   
PGM_SETBORDER   
PGM_SETBUTTONSIZE   
PGM_SETCHILD   
PGM_SETPOS   

Pager   Control   Notifications   
NM_RELEASEDCAPTURE   
PGN_CALCSIZE   
PGN_SCROLL   
  
Animation   Control   Messages   
ACM_OPEN   
ACM_PLAY   
ACM_STOP   

Animation   Control   Notifications   
ACN_START   
ACN_STOP   

Tab   Control   Messages   
TCM_ADJUSTRECT   
TCM_DELETEALLITEMS   
TCM_DELETEITEM   
TCM_DESELECTALL   
TCM_GETCURFOCUS   
TCM_GETCURSEL   
TCM_GETEXTENDEDSTYLE   
TCM_GETIMAGELIST   
TCM_GETITEM   
TCM_GETITEMCOUNT   
TCM_GETITEMRECT   
TCM_GETROWCOUNT   
TCM_GETTOOLTIPS   
TCM_GETUNICODEFORMAT   
TCM_HIGHLIGHTITEM   
TCM_HITTEST   
TCM_INSERTITEM   
TCM_REMOVEIMAGE   
TCM_SETCURFOCUS   
TCM_SETCURSEL   
TCM_SETEXTENDEDSTYLE   
TCM_SETIMAGELIST   
TCM_SETITEM   
TCM_SETITEMEXTRA   
TCM_SETITEMSIZE   
TCM_SETMINTABWIDTH   
TCM_SETPADDING   
TCM_SETTOOLTIPS   
TCM_SETUNICODEFORMAT  
 
Tab   Control   Notification   Messages   
NM_CLICK   
NM_RCLICK     
NM_RELEASEDCAPTURE   
TCN_GETOBJECT   
TCN_KEYDOWN   
TCN_SELCHANGE   
TCN_SELCHANGING   

Tree   View   Control   Messages   
TVM_CREATEDRAGIMAGE   
TVM_DELETEITEM   
TVM_EDITLABEL   
TVM_ENDEDITLABELNOW   
TVM_ENSUREVISIBLE   
TVM_EXPAND   
TVM_GETBKCOLOR   
TVM_GETCOUNT   
TVM_GETEDITCONTROL   
TVM_GETIMAGELIST   
TVM_GETINDENT   
TVM_GETINSERTMARKCOLOR   
TVM_GETISEARCHSTRING   
TVM_GETITEM   
TVM_GETITEMHEIGHT   
TVM_GETITEMRECT   
TVM_GETNEXTITEM   
TVM_GETSCROLLTIME   
TVM_GETTEXTCOLOR   
TVM_GETTOOLTIPS   
TVM_GETUNICODEFORMAT   
TVM_GETVISIBLECOUNT   
TVM_HITTEST   
TVM_INSERTITEM   
TVM_SELECTITEM   
TVM_SETBKCOLOR   
TVM_SETIMAGELIST   
TVM_SETINDENT   
TVM_SETINSERTMARK   
TVM_SETINSERTMARKCOLOR   
TVM_SETITEM   
TVM_SETITEMHEIGHT   
TVM_SETSCROLLTIME   
TVM_SETTEXTCOLOR   
TVM_SETTOOLTIPS   
TVM_SETUNICODEFORMAT   
TVM_SORTCHILDREN   
TVM_SORTCHILDRENCB   

Tree   View   Notification   Messages   
NM_CLICK   (tree   view)   
NM_CUSTOMDRAW   (tree   view)   
NM_DBLCLK   (tree   view)   
NM_KILLFOCUS   (tree   view)   
NM_RCLICK   (tree   view)   
NM_RCLICK   (tree   view)   
NM_RETURN   (tree   view)   
NM_SETCURSOR   (tree   view)   
NM_SETFOCUS   (tree   view)   
TVN_BEGINDRAG   
TVN_BEGINLABELEDIT   
TVN_BEGINRDRAG   
TVN_DELETEITEM   
TVN_ENDLABELEDIT   
TVN_GETDISPINFO   
TVN_GETINFOTIP   
TVN_ITEMEXPANDED   
TVN_ITEMEXPANDING   
TVN_KEYDOWN   
TVN_SELCHANGED   
TVN_SELCHANGING   
TVN_SETDISPINFO   
TVN_SINGLEEXPAND   

Hot   Key   Control   Messages   
HKM_GETHOTKEY   
HKM_SETHOTKEY   
HKM_SETRULES

 

http://www.fx114.net/qa-215-161688.aspx

[转]windows控件消息和控件通知消息大全