Events List In PowerBuilder
Single-select or multiple-select button message (prefix: pbm_bm)
Whether the radio button or multi-select button is selected.
Whether the button is highlighted.
Change the selected state of the wireless button or confirmation box to the unselected state, and vice versa.
Highlight or not highlight the button.
Change the style of the buttons, for example, to radio buttons or combo boxes.
Single-select or multiple-select button notification message (prefix: pbm_bn)
The button control is clicked.
Invalidate the button control.
The button control is double-clicked.
An object is placed on the button control.
An object is dragged to the button control.
An object is dragged away from the button control.
An object is dragged through the button control.
The button control is highlighted.
The button control is drawn.
The button control gains focus.
The button control is not highlighted.
Common dialog messages (prefix: pbm_cb)
Add the string to the common dialog box.
Delete a character string from the common dialog box.
Add a directory list to the common dialog box.
Search for a string that starts with a set of characters.
Search for a string that exactly matches the provided character.
The number of items in the list box.
The number of currently selected items.
The coordinate position of the list box on the screen.
The range of selected characters in the editor control.
Default or extended user interface.
The 4-byte (32-bit) item in the redrawn list box.
The height of an item in the list box.
The text in the list box.
The length of the text in the list box.
Add a new string or 4-byte item to the list box.
Limit the number of characters that can be entered into the list box.
Delete all elements in the list box.
Search for the matched string and display it.
Select and display an item in the list box.
Select a piece of text in the editing area of the list box.
Set the default or extended user interface.
Set the 4-byte (32-bit) item in the list box.
Set the height of the item in the list box.
Convert (show or hide) the drag-and-drop area in the list box.
Common dialog notification message (prefix: pbm_cbn)
The user double-clicks on an item in the list.
An object is placed on the common dialog box control.
An object is dragged onto the common dialog control.
An object is dragged away from the common dialog control.
An object is dragged through the common dialog box control.
The lower area of the list box is about to be displayed.
The text in the editor control changes.
The text in the list box editor control is about to be changed.
The list box is full and no more items can be added to it.
The general list box loses focus.
The selected text in the list box is changed.
The user pressed the “Cancel” button.
The user pressed the “OK” button.
The general dialog control has focus.
Datawindow message (prefix: pbm_dw)
Close the drop-down data window.
Scroll to the last line in the data window.
Scroll to the first row in the data window.
Scroll to the end of the current line (horizontal direction).
Scroll to the beginning of the current line (horizontal direction).
Datawindow notification message (prefix: pbm_dwn)
About to leave the control by shift+tab key combination.
The control is about to be changed.
The drop-down part of the drop-down list box will be visible soon.
The image is about to be created.
The focus change of the current item in the data window control.
The modification of the current item caused a legality check error.
A key was pressed. Use keydown() to process keyboard values.
The left mouse button is pressed.
The left mouse button is released.
Click with the middle mouse button.
Double-click the middle mouse button.
The mouse moves.
The print boundary is changed.
The enter key is pressed.
The focus shifts from one row to another in the data window.
The user pressed the down arrow key in the last row of the data window.
The user pressed the tab key in the last row/column of the data window.
The user pressed the up arrow key in the first row of the data window.
Dynamic data exchange (dde) messages (prefix: pbm_dde)
Received a dde message.
Start a dde session.
Terminate a dde session.
Editor control messages (prefix: pbm_em)
Whether the editor control can undo the last modification.
Clear the buffer of cancel operation managed by windows.
Add or delete carriage return and line feed at the end of the multi-line editor control.
Returns the line number of the first line visible in the editor control.
Get the memory handle used by the editor control.
Copy a line from the editor control to a buffer in memory.
Returns the number of lines of the multi-line editor control.
Whether the text is modified by the user.
Returns the rectangular field of the control.
Returns the starting position of the selected text.
Limit the length of text typed by users.
Returns the line number of the selected text.
Returns the position in the edit string of the first character of the selected line in the editor control.
Returns the number of characters in the selected line in the editor control.
Scroll the editor controls horizontally or vertically.
Replace the selected text with new text from the clipboard or from the keyboard.
Set the handle of the editor control to point to a buffer in memory.
Set the modified flag of the editor control.
Set the characters displayed when the user enters all text, and the display when entering the password.
Set/reset the rectangular area where the editor control is located, and the text in the editor control is redrawn.
Except that the text is not redrawn, it is roughly the same as setrect.
Set tabstops in the multi-line editor control.
Set up a new word split function.
Set up a new word splitting process.
Undo the most recent editing operation.
Edit control notification message (prefix: pbm_en)
The text in the editor control has changed.
The editor control memory buffer overflowed.
The user clicks the middle and upper horizontal scroll bar.
The user tried to enter more text than allowed.
The editor control is about to display the user’s changes.
The user clicked the vertical scroll bar.
List box message (prefix: pbm_lb)
Add an item or string to the list box control.
Delete an item or string from the list box.
Fill the list box with a list of directories.
Search for the first item that partially matches the given string in the list box.
Search for the first item that exactly matches the given string in the list box.
Search for items with focus in the list box.
Determine the number of items in the list box.
Determine which item is the selected item.
Get the width of the list box and calculate the horizontal scrolling.
Determines the height of the items in the list box control.
Determine the size of the list box.
Get the currently selected item in the list box.
Get the number of selected items in the multiple selection list box.
Fill a given array of integers with their respective item numbers in the list box.
Get the text of the currently selected item in the list box.
Get the number of characters in the text of the currently selected item in the list box.
Determine the item number of the top item visible in the list box.
Add a new string to the list box.
Reset (delete) the content in the list box.
Search and highlight the string that matches the given character.
Select/cancel items in a certain range in the list box.
Set an item in the list box to have focus.
Set the width of the columns in the list box.
Select and highlight an item in the list box; scroll to the list box if necessary.
Set the number of horizontally rolled units in the list box.
Set the 32-bit/4-byte value related to the list box.
Set the height of the item in the list box.
Select a string in the list box.
Set the position of tabstops in the list box control.
Scroll the list box to make a specific item the top item visible.
List box notification message (prefix: pbm_en)
The user double-clicks on an item in the list box control.
The user tried to exceed the maximum limit of characters that can be entered in the list box.
The currently selected text is cancelled.
The user selects or cancels an item in the list box.
Window message (prefix: pbm_)
The activated window belongs to another application.
The contents of the clipboard are required to be copied to a text buffer in a custom format.
Transmit the keys pressed on the keyboard.
By converting the characters from the keyboard, help the list box to locate the items in it.
A child window is moved or activated.
The user wants to delete the content in the current editor control.
The user has selected a menu item, control, or used an accelerator key.
System memory resources are insufficient; this message is generated when windows occupies more than 1/8 of the CPU time to shrink memory.
This message is generated when a new item is added to the list box or combo box, and the window uses this message to compare items.
A control is about to be drawn, and the color of the control can be changed at this time.
The user has selected a non-English character set or other special character set, which will change the characters to be entered below.
Remove an item from the list box or common dialog box.
The clipboard contents are cleared.
A device name in win.ini has been modified.
The contents of the clipboard have changed.
One item of the list box or common dialog box has been changed.
This message is issued when the left mouse button is released on an application registered as a drag-and-drop file acceptor.
The client area of the window needs to be redrawn.
Apply changes to the number of available fonts.
The notification message indicates which type of keyboard is currently in use.
Get the currently activated font.
windows is checking the size of the minimized or maximized window.
Copy text from a control (such as a button or editor control) to a memory buffer.
Used to determine the number of characters in a control.
The horizontal scroll bar of the clipboard is used.
A minimized window needs to recreate the background.
A dialog box is about to be displayed.
A menu is about to be displayed.
A pop-up window is about to be displayed.
A key on the keyboard was pressed.
A key on the keyboard is released.
An mdi child window (form) is activated.
Rearrange all forms in overlapping form.
Create a form.
Remove a form from the mdi frame.
Get the handle of the currently active mdi form.
Rearrange the icons of the minimized form in an mdi frame.
Maximize an mdi sub-form.
Activate the next mdi form (the form immediately following the active form).
Restore the mdi form to its original size.
Associate a menu with an mdi form.
Tile all mdi forms.
This message is sent to the window to be created that contains buttons or other controls.
The user used a shortcut key, but the system does not support the shortcut key.
The user has selected a menu item.
The user clicked the mouse in an inactive window.
The user moved the mouse.
The non-client area of the window is about to be activated.
The size of the window needs to be recalculated.
The window is about to create its non-client area.
The non-shared area of the window is destroyed.
This message is sent every time the non-client area is moved.
The user double-clicked the left mouse button in the non-client area.
Non-customers need to draw.
Transfer the focus to another control in the dialog box.
The client area of the window needs to be drawn.
Clipboard applications have cut and paste operations, and the clipboard viewer needs to redraw.
The system palette is changed.
The system palette is about to be changed.
Notify the parent window that a child window is about to be created.
The user wants to drag a minimized window.
A notification message stating that the window is about to be closed.
The application is about to receive the input focus, and the necessary color adjustments should be performed.
A minimized window is about to be restored.
The last message processed by the application.
Notify the owner of a clipboard format that the application will lose all formats.
A notification message stating that the data placed in the clipboard should be transmitted in a special format.
A notification message stating that the mouse pointer is moving in a window.
Used to change the font in the dialog box.
Send to the list box or common dialog box before adding a new item.
Used to change the title or text of the window.
The clipboard viewer application changes the size.
A print manager task is added or deleted.
The <alt> key and some other key were pressed at the same time.
One or more system colors have been changed.
The user has selected a system menu command.
Notification message stating that a non-English character set has been selected.
The user pressed a key while pressing the <alt> key.
The user released the <alt> key combination.
The system clock is modified.
Copy text from the undo buffer to the editor control.
When a list box has focus, the user presses a key.
The user clicked on the vertical scroll bar.
The vertical scroll bar of the clipboard viewer is clicked.
The window position has changed.
The window position is about to change.
The win.ini file is modified.