PB Custom Event ID meaning
Single-choice or multiple-choice button message (prefix: pbm_bm)
Whether the pbm_bmgetcheck single-choice button or multiple-choice button is selected.
Whether the pbm_bmgetstate button is highlighted.
Pbm_bmsetcheck changes the selected status of the wireless button or confirmation box to unselected, and vice versa.
Pbm_bmsetstate highlighted or not highlighted.
Pbm_bmchange changes the button style, for example, to single button or combo.
Single-choice or multiple-choice button notification message (prefix: pbm_bn)
The pbm_bnclicked button control is clicked.
Pbm_bndisable invalidates the button control.
The pbm_bndoubleclicked button control is dual.
Pbm_bndragdrop an object is placed in the button control.
Pbm_bndragenter: an object is dragged to the button control.
Pbm_bndragleave an object is dragged away from the button control.
Pbm_bndragover an object is dragged by the button control.
The pbm_bnhilite button control is highlighted.
The pbm_bnpaint button control is drawn.
The pbm_bnsetfocus button control obtains the focus.
The pbm_bnunhilite button control is not highlighted.
General dialog message (prefix: pbm_cb)
Pbm_cbaddstring: add the string to the general dialog box.
Pbm_cbdeletestring deletes a string from the general dialog box.
Pbm_cbdir Add a directory list to the general dialog box.
Pbm_cbfindstring searches for strings starting with a group of characters.
Pbm_cbfindstringexact searches for strings that exactly match the provided characters.
The number of items in the pbm_cbgetcount list box.
Number of options currently selected by pbm_cbgetcursel.
Coordinate Position of the pbm_cbgetdroppedcontrolset list box on the screen.
The range of characters selected in the pbm_cbgeteditsel editor control.
Pbm_cbgetextendedui default or extended user interface.
The 4-byte (32-bit) item in the list box repainted by pbm_cbgetitemdata.
Height of an item in the pbm_cbgetitemheight list box.
Text in the pbm_cbgetlbtext list box.
The length of text in the pbm_cbgetlbtextlen list box.
Pbm_cbinsertstring adds a new string or 4-byte item to the list box.
Pbm_cblimittext limits the number of characters that can be entered into the list box.
Pbm_cbresetcontent deletes all elements in the list box.
Pbm_cbselectstring searches for matched strings and displays them.
Pbm_cbsetcursel select and display an item in the list box.
Pbm_cbseteditsel select a piece of text in the editing area of the list box.
Pbm_cbsetextendedui sets the default or extended user interface.
Pbm_cbsetitemdata: Set 4-byte (32-bit) items in the list box.
Pbm_cbsetitemheight: Set the height of the items in the list box.
Drag and Drop areas in the pbm_cbshowdropdown conversion (show or hide) list box.
General dialog box notification message (prefix: pbm_cbn)
Pbm_cbndblclk users have two vertices in the list.
Pbm_cbndragdrop an object is placed on the universal dialog box control.
Pbm_cbndragenter: an object is dragged to the universal dialog box control.
Pbm_cbndragleave an object is dragged out of the universal dialog box control.
Pbm_cbndragover an object is dragged by the universal dialog box control.
The drop-down area of the pbm_cbndropdown list box will be displayed soon.
The text in the pbm_cbneditchange editor is changed.
The text in the pbm_cbneditupdate list box editor is about to be changed.
The pbm_cbnerrspace list box is full and cannot be added to it.
The pbm_cbnkillfocus generic list box loses focus.
The selected text in the pbm_cbnselchange list box is changed.
The pbm_cbnselendcancel user presses the "cancel" button.
The pbm_cbnselendok user presses the "OK" button.
Pbm_cbnsetfocus universal dialog control has focus.
Data window message (prefix: pbm_dw)
Pbm_dwclosedropdown closes the drop-down data window.
Pbm_dwscrollend rolls to the last row in the data window.
Pbm_dwscrollhome rolls to the first row in the data window.
The pbm_dwscrolllineend volume rolls to the end of the current row (horizontal ).
Pbm_dwscrolllinehome rolls the volume to the beginning (horizontal) of the current row ).
Data window notification message (prefix: pbm_dwn)
Pbm_dwnbacktabout is about to exit the control through the SHIFT + Tab key combination.
The pbm_dwnchanging control will be changed soon.
The drop-down part of the pbm_dwndropdown drop-down list box will be visible soon.
Pbm_dwngraphcreate: The image will be created soon.
Focus changes of the current item in the pbm_dwnitemchangefocus data window control.
Pbm_dwnitemvalidationerror the modification to the current item caused a legality check error.
Pbm_dwnkey has a key pressed. Use keydown () to process keyboard values.
Pbm_dwnlbuttondown is pressed with the left mouse button.
The left mouse button pbm_dwnlbuttonup is released.
Pbm_dwnmbuttonclk and click in the middle of the mouse.
Pbm_dwnmbuttondbclk double-click.
Pbm_dwnmousemove move the mouse.
The print boundary of pbm_dwnprintmarginchange is changed.
Pbm_dwnprocessenter press the Enter key.
In the pbm_dwnrowchange data window, focus from one row to another.
The pbm_dwntabdownout user presses the down arrow in the last row of the data window.
The pbm_dwntabout user presses the tab key in the last row/column of the data window.
The pbm_dwntabupout user presses the up arrow in the first row of the data window.
Dynamic Data Exchange (DDE) message (prefix: pbm_dde)
Pbm_ddeddeack receives a DDE message.
Pbm_ddeddeinitiate starts a DDE session.
Pbm_ddeddeterminate ends a DDE session.
Editor Control Message (prefix: pbm_em)
Whether the previous modification can be undone by the pbm_emcanundo editor control.
Pbm_emptyundobuffer clears the unoperated buffer zone managed by windows.
Pbm_emfmtlines adds or deletes a carriage return line break at the end of the row of the multi-line editor control.
Pbm_emgetfirstvisibleline returns the row number of the first line visible in the editor control.
Pbm_emgethandle obtains the memory handle used by the editor control.
Pbm_emgetline copies a row from the editor control to a buffer zone in the memory.
Pbm_emgetlinecount returns the number of rows in the multi-line editor control.
Whether the pbm_emgetmodify text is modified by the user.
Pbm_emgetrect returns the rectangular field of the control.
Pbm_emgetsel returns the starting position of the selected text.
Pbm_emlimittext limits the length of text you type.
Pbm_emlinefromchar returns the row number of the selected text.
Pbm_emlineindex returns the position of the first character in the editing string of the selected row in the editor control.
Pbm_emlinelength returns the number of characters in the selected row in the editor control.
Pbm_emlinescroll horizontal or vertical scroll editor controls.
Pbm_emreplacesel replaces the selected text from the clipboard or from the keyboard with new text.
Pbm_emsethandle sets the handle of the editor control to point to a buffer zone in the memory.
Pbm_emsetmodify sets the modified flag of the editor control.
Pbm_emsetpasswordchar sets the characters displayed when the user enters any text and when the password is entered.
Pbm_emsetrect sets/resets the rectangular area of the editor control, and the text in the editor control is repainted.
Pbm_emsetrectnp is roughly the same as setrect except for non-duplicated text.
Pbm_emsetsel select characters.
Pbm_emsettabstops: Set tabstops in the multi-line editor control.
Pbm_emsetwordbreak sets a new word splitting function.
Pbm_emsetwordbreakproc sets the new word splitting process.
Pbm_emundo undo the latest edit operation.
Edit Control notification message (prefix: pbm_en)
The text in the pbm_enchange editor control is changed.
The memory buffer of the pbm_enerrspace editor controls overflows.
Pbm_enhscroll user points the upper and lower level rolling bars.
Pbm_enmaxtext users try to enter more text than allowed.
The pbm_enupdate editor control displays user modifications.
Pbm_envscroll specifies the vertical scroll bar.
List box message (prefix: pbm_lb)
Pbm_lbaddstring adds one or more strings to the list box control.
Pbm_lbdeletestring deletes one or more strings from the list box.
Pbm_lbdir fill the list box with the directory list.
Pbm_lbfindstring searches the list box for the first item that matches the given string.
Pbm_lbfindstringexact searches the list box for the first exact match of the given string.
Pbm_lbgetcaretindex searches the list box for items with focus.
Pbm_lbgetcount determines the number of items in the list box.
Pbm_lbgetcursel determines the number of options.
Pbm_lbgethorizontalextent obtains the width of the list box and calculates the Horizontal Rolling.
Pbm_lbgetitemheight: determines the height of the items in the list box control.
Pbm_lbgetitemrect: determine the size of the list box.
Pbm_lbgetsel: Obtain the currently selected items in the list box.
Pbm_lbgetselcount gets the number of options in the multiple choice list box.
Pbm_lbgetselitems fill in a given integer array with the items in the table box in the list box.
Pbm_lbgettext to get the text of the current option in the list box.
Pbm_lbgettextlen gets the number of characters in the text of the current option in the list box.
Pbm_lbgettopindex determines the item number of the top item visible in the list box.
Pbm_lbinsertstring adds a new string to the list box.
Pbm_lbresetcontent resets (removes) the content in the list box.
Pbm_lbselectstring search and highlight the string that matches the given character.
Pbm_lbselitemrange select/cancel items in a range in the list box.
One of the pbm_lbsetcaretindex setting list lists has a focus.
Pbm_lbsetcolumnwidth: Set the column width in the list box.
Pbm_lbsetcursel select and highlight an item in the list box. If necessary, roll to the list box.
Pbm_lbsethorizontaltext sets the number of units to be rolled horizontally in the list box.
Pbm_lbsetitemdata sets the 32-bit/4-byte value related to the list box.
Pbm_lbsetitemheight: Set the height of the items in the list box.
Pbm_lbsetsel select a string from the list box.
Pbm_lbsettabstops: Set the position of tabstops in the list box control.
Pbm_lbsettopindex roll list box to make a specific item visible to the top.
Notification message in the list box (prefix: pbm_en)
Pbm_endblclk you double-click a item in the list box control.
Pbm_enerrspace users try to exceed the maximum limit of characters that can be entered in the list box.
Pbm_enselcancel the selected text is canceled.
The pbm_enselchange user selects or cancels an item in the list box.
Window message (prefix: PBM _)
The window in which pbm_activateapp is activated belongs to another application.
Pbm_askcbformatname requires that the content in the clipboard be copied to a text buffer in custom format.
Pbm_char transfers the key pressed on the keyboard.
Pbm_chartoitem helps the list box locate items by converting the keyboard characters.
Pbm_childactivate A subwindow is moved or activated.
The pbm_clear user wants to delete the content in the current editor control.
Pbm_command selects a menu item, control, or acceleration key.
Pbm_compacting system memory resources are insufficient. This message is generated when Windows uses more than 1/8 of CPU time to compress memory.
Pbm_compareitem: this message is generated when a new item is added to a list box or a combo box. Window uses this message to compare items.
Pbm_ctlcolor: A control will be drawn soon. You can change the color of the control at this time.
Pbm_deadchar the user selects a non-English or other special character set, which will change the characters to be entered below.
Pbm_deleteitem removes an item from the list box or general dialog box.
The clipboard content of pbm_destroyclipboard is cleared.
One device name in pbm_devmodechanged win. ini is modified.
The clipboard content of pbm_drawclipboard is changed.
The content of the pbm_drawitem list box or general dialog box is changed.
Pbm_dropfiles this message is sent when the left mouse button is released on an application registered as a drag-and-drop file receiver.
The customer area of the pbm_erasebkgnd window needs to be re-painted.
The available font count of the pbm_fontchange application is changed.
Pbm_getdlgcode indicates the type of keyboard currently used.
Pbm_getfont.
Pbm_getminmaxinto windows is checking to minimize or maximize the size of the window.
Pbm_gettext copies text from a control (such as a button or editor Control) to a memory buffer.
Pbm_gettextlength is used to determine the number of characters in a control.
The horizontal scroll bar of the pbm_hscrollclipboard clipboard is used.
Pbm_iconerasebkgnd: a minimal window needs to be duplicated.
The pbm_initdialog dialog box will be displayed soon.
Pbm_initmenu a menu will be displayed soon.
Pbm_initmenupopup a pop-up window will be displayed soon.
A key on the pbm_keydown keyboard is pressed.
A key on the pbm_keyup keyboard is released.
Pbm_mdiactive an MDI subwindow (form) is activated.
Pbm_mdicascade reassembles all forms in overlapping forms.
Pbm_mdicreate creates a form.
Pbm_mdidestroy removes a form from the MDI framework.
Pbm_mdigetactive gets the handle of the active MDI form.
Pbm_mdiiconrange specifies the icon that minimizes the form in an MDI frame.
Pbm_mdimaximize maximizes an MDI subform.
Pbm_mdinext activates the next MDI form (followed by the form of the activity form ).
Pbm_mdirestore restores the MDI form to its original size.
Pbm_mdisetmenu associates a menu with an MDI form.
Pbm_mdifitle tile all the MDI forms.
The message pbm_measureitem is sent to the window with buttons or other controls to be created.
Pbm_menuchar users use a shortcut key, which is not supported by the system.
Pbm_menuselect selects a menu item.
The pbm_mouseactivate user clicks the mouse in an inactive window.
Pbm_mousemove the user moved the mouse.
The non-customer zone of the pbm_ncactivate window will be activated soon.
The size of the pbm_nccalcsize window needs to be recalculated.
The pbm_nccreate window is about to create its non-customer zone.
The non-shared area of the pbm_ncdestroy window is destructed.
Pbm_nchittest sends the message every time the non-customer zone is moved.
Pbm_nclbuttondblclk users clicked the left mouse button in the non-customer zone.
Pbm_ncpaint is not required by customers.
Pbm_nextdlgctl transfers focus to another control in the dialog box.
The customer area of the pbm_paint window needs to be drawn.
The pbm_paintclipboard clipboard application has a clipboard operation. The clipboard viewer needs to be re-painted.
The pbm_palettechanged system palette is changed.
The pbm_paletteischanging system palette will be changed soon.
Pbm_parentnotify notifies the parent window that a subwindow is about to be created.
Pbm_querydragicon users need to drag a minimal window.
Pbm_queryendsession notification message, indicating that the window will be closed soon.
The pbm_querynewpalette application is about to receive the input focus, and the necessary Color adjustment should be performed.
Pbm_queryopen: a minimal window is about to be restored.
The last message processed by the pbm_quit application.
Pbm_renderallformats notifies the owner of a clipboard format, and the application will lose all formats.
Pbm_renderformats notification message, indicating that the data placed on the clipboard should be transmitted in a special format.
Pbm_setcursor notification message, indicating that the mouse pointer moves in a window.
Pbm_setfont is used to change the font in the dialog box.
Pbm_setredraw is sent to the list box or general dialog box before a new item is added.
Pbm_settext is used to change the title or text of a window.
Pbm_sizeclipboard clipboard viewer app resize.
Pbm_spoolerstatus a print manager task is added or deleted.
Pbm_syschar <alt> and other keys are simultaneously pressed.
Pbm_syscolorchange one or more system colors are changed.
Pbm_syscommand: select a system menu command.
Pbm_sysdeadchar indicates that a non-English character set is selected.
Pbm_syskeydown the user presses the <alt> key while pressing a key.
The pbm_syskeyup user releases the <alt> key combination.
The pbm_timechange system clock is modified.
Pbm_undo: Copy text from the Undo buffer to the editor control.
Pbm_vkeytoitem when a list box has a focus, the user presses a key.
Pbm_vscroll users click the vertical scroll bar.
The vertical scroll bar of the pbm_vscrollclipboard clipboard viewer is clicked.
The position of the pbm_windowposchanged window is changed.
The position of the pbm_windowposchanging window is about to change.
The pbm_wininichange win. ini file is modified.
This article is from the share blog, please be sure to keep this source http://harman.blog.51cto.com/1155829/1438965