Analyze the meaning of IDs in user-defined events

Source: Internet
Author: User
Tags line editor
Analyze the meaning of IDs in user-defined events
Next we will explain the meaning of the internal ing event starting with pbm in PowerBuilder. Here are some main examples by class, and other events and so on.

Single-choice or multiple-choice button message (prefix: pbm_bm)
Whether the getcheck single-choice button or multiple-choice button is selected
Whether the getstate button is highlighted
Setcheck changes the selected status of the wireless button or confirmation box to the unselected status, and vice versa.
Setstate highlighted or not
Change changes the button style, for example, to single button or combo
Single-choice or multiple-choice button notification message (prefix: pbm_bn)
Clicked button control being clicked
Disable: invalidates the button control.
Double-clicked button control is double-clicked
Dragdrop: put an object to the button control.
Dragenter: drag an object to the button control.
Dragleave an object is dragged away from the button control
Dragover a drag-and-drop button control
The hilite button control is highlighted.
Paint button control is drawn
Setfocus button control for focus
Unhilite button control is not highlighted
General dialog message (prefix: pbm_cb)
Addstring add string to Common Dialog Box
Deletestring delete a string from the general dialog box
Add a directory list to the general dialog box
Findstring searches for strings starting with a group of characters
Findstringexact searches for strings that exactly match the provided characters
Number of items in the getcount list box
Number of items currently selected by getcursel
Coordinate Position of the getdroppedcontrolset list box on the screen
Range of characters selected in the geteditsel editor Control
Getextendedui default or extended user interface
The 4-byte (32-bit) item in the redrawn list box of getitemdata
Height of an item in the getitemheight list box
Text in the getlbtext list box
Length of text in the getlbtextlen list box
Insertstring adds a new string or 4-byte item to the list box.
Limittext limits the number of characters that can be entered into the list box.
Resetcontent delete all elements in the list box
Selectstring
Setcursel select and display an item in the list box
Seteditsel select a piece of text in the editing area of the list box
Setextendedui: Set the default or extended user interface
Setitemdata: Set 4-byte (32-bit) items in the list box
Setitemheight: Set the height of the items in the list box.
Drag and Drop areas in the showdropdown conversion (show or hide) list box
General dialog box notification message (prefix: pbm_cbn)
Dblclk indicates the dual point of a user in the list.
Dragdrop an object is placed on a universal dialog box control.
Dragenter: drag an object to the universal dialog box control.
Dragleave an object is dragged out of the universal dialog box Control
Dragover an object is dragged by a universal dialog box Control
The drop-down area of the drop-down list box will be displayed soon.
The text in the editchange editor control changes.
Editupdate
The text in the list box editor control is about to be changed.
Errspace
The list box is full and cannot be added to it.
Killfocus
General ListBox out of focus
Selchange
The selected text in the list box is changed.
Selendcancel
The user presses the "cancel" button.
Selendok
The user presses the "OK" button.
Setfocus
Universal dialog control with focus
Data window message (prefix: pbm_dw)
Closedropdown
Close the drop-down data window
Scrollend
Roll to the last row in the data window
Scrollhome
Roll to the first line in the data window
Scrolllineend
Roll to the end of the current row (horizontal)
Scrolllinehome
Roll to the beginning of the current row (horizontal)
Data window notification message (prefix: pbm_dwn)
Backtabout
Leaving the control via Shift + Tab
Changing
Control to be changed soon
Dropdown
The drop-down part of the drop-down list box will be visible soon
Graphcreate
Drawing to be created soon
Itemchangefocus
Focus changes of the current item in the data window control
Itemvalidationerror
Modification to the current item caused a legality check error.
Key
A key is pressed. Use keydown () to process keyboard values
Lbuttondown
Left mouse button pressed
Lbuttonup
The left mouse button is released.
Mbuttonclk
Click
Mbuttondbclk
Double-click
Mousemove
Move the mouse
Printmarginchange
The print boundary is changed.
Processenter
The enter key is pressed.
Rowchange
Focus in the data window from one row to another
Tabdownout
The user presses the down arrow in the last row of the data window.
Tabout
The user presses the tab key in the last row/column of the data window.
Tabupout
The user presses the up arrow in the first row of the data window.
Dynamic Data Exchange (DDE) message (prefix: pbm_dde)
Ddeack
Receives a DDE message.
Ddeinitiate
Start a DDE session
Ddeterminate
Terminate a DDE session
Editor Control Message (prefix: pbm_em)
Canundo
Can the editor control undo the last modification?
Emptyundobuffer
Clear the unoperated buffer zone managed by Windows
Fmtlines
Add or delete a carriage return line break at the end of the line of the multi-line editor Control
Getfirstvisibleline
Returns the row number of the first line visible to the editor control.
Gethandle
Obtain the memory handle used by the editor control.
Getline
Copy a row from the editor control to a buffer in the memory.
Getlinecount
Returns the number of rows in the multi-line editor control.
Getmodify
Whether the text has been modified by the user
Getrect
Returns the rectangular field of the control.
Getsel
Returns the starting position of the selected text.
Limittext
Restrict the length of text typed by the user
Linefromchar
Returns the row number of the selected text.
Lineindex
Returns the position of the first character in the editing string of the selected row in the editor control.
Linelength
Returns the number of characters in the selected row in the editor control.
Linescroll
Horizontal or vertical scroll editor controls
Replacesel
Replace selected text with new text from clipboard or keyboard
Sethandle
Set the handle of the editor control to point to a buffer in the memory.
Setmodify
Set the modified flag of the editor control.
Setpasswordchar
Set the characters displayed when the user enters any text and when the password is entered
Setrect
Set/reset the rectangular area of the editor control, and the text in the editor control is repainted.
Setrectnp
Except for non-duplicate text, it is roughly the same as setrect.
Setsel
Select characters
Settabstops
Set tabstops in the multi-line editor Control
Setwordbreak
Set a new word splitting Function
Setwordbreakproc
Set a new word Splitting Process
Undo
Undo the most recent edit operation
Edit Control notification message (prefix: pbm_en)
Change
The text in the editor control has changed.
Errspace
Editor Control Memory Buffer Overflow
Hscroll
User Point upper-middle horizontal scroll bar
Maxtext
The user attempted to enter more text than allowed
Update
The editor control is about to display user changes
Vscroll
The user clicks the vertical scroll bar.
------
List box message (prefix: pbm_lb)

Addstring adds one or more strings to the list box control.
Deletestring deletes one or more strings from the list box.
Dir fills the list box with the Directory List
Findstring searches the list box for the first item that matches the given string.
Findstringexact searches the list box for the first exact match to the given string.
Getcaretindex searches the list box for items with focus
Getcount: determines the number of items in the list box.
Getcursel determines the number of items
Gethorizontalextent: Get the width of the list box and calculate the Horizontal Rolling
Getitemheight: determines the height of items in the list box control.
Getitemrect: determine the size of the list box
Getsel
Getselcount
Getselitems uses the items in the table box in the list box to fill in a given integer array.
Gettext: Get the text of the current option in the list box.
Gettextlen obtains the number of characters in the text of the current option in the list box.
Gettopindex determines the number of the top item visible in the list box
Insertstring adds a new string to the list box.
Reset (delete) content in the resetcontent list box
Selectstring search and highlight the string that matches the given character
Selitemrange select/cancel items in a range in the list box
Setcaretindex indicates that one of the ListBox has a focus.
Setcolumnwidth: Set the column width in the list box.
Setcursel select and highlight an item in the list box. If necessary, roll to the list box.
Sethorizontaltext sets the number of units to be rolled horizontally in the list box
Setitemdata: Set the 32-bit/4-byte value related to the list box
Setitemheight: Set the height of the items in the list box.
Setsel select a string in the list box
Settabstops: Set the position of tabstops in the list box Control
Settopindex roll list box to make specific items visible to the top

Notification message in the list box (prefix: pbm_en)

Dblclk double-click a item in the list box Control
The errspace user tries to exceed the maximum limit of characters that can be entered in the list box.
Selcancel the selected text is canceled
The selchange user selects or cancels an item in the list box.

Window message (prefix: pbm _)

The activateapp's activated window belongs to another application.
Askcbformatname requires that the content in the clipboard be copied to a text buffer in custom format
Char transfer key pressed on the keyboard
Chartoitem helps the list box locate items by converting the keyboard characters
Childactivate A subwindow is moved or activated
Clear: the user wants to delete the content in the current editor control.
The command selects a menu item, control, or uses the acceleration key.
The compacting system has insufficient memory resources. When Windows consumes more than 1/8 of the CPU
This message is generated during storage.
Compareitem: this message is generated when a new item is added to a list box or a combo box.
Message comparison between items
Ctlcolor: A control will be drawn soon. You can change the color of the control at this time.
Deadchar selects a non-English or other special character set, which will change
Characters to be entered
Deleteitem remove an item from the list box or general dialog box
Destroyclipboard clipboard content is cleared
A device name in devmodechanged win. ini is modified.
Drawclipboard clipboard content changed
The content of the drawitem list box or general dialog box is changed.
Dropfiles
Output this message
The customer area of the erasebkgnd window needs to be re-painted
Fontchange application available font count change
Getdlgcode indicates the type of keyboard currently used.
Getfont to get the currently activated font
Getminmaxinto windows is checking to minimize or maximize the size of the window
Gettext copies text from a control (such as a button or editor Control) to a memory buffer.
Gettextlength is used to determine the number of characters in a control.
The horizontal scroll bar of the hscrollclipboard clipboard is used
Iconerasebkgnd a minimized window needs to be refactored into the background
An initdialog dialog box will be displayed soon.
Initmenu a menu will be displayed soon
Initmenupopup a pop-up window will be displayed soon
A key on the keydown keyboard is pressed
A key on the keyup keyboard is released.
Mdiactive an MDI subwindow (form) is activated
Mdicascade reassembles all forms in overlapping forms
Mdicreate creates a form
Mdidestroy removes a form from the MDI framework
Mdigetactive gets the handle of the active MDI form
Mdiiconrange specifies the icon that minimizes the form in an MDI frame.
Mdimaximize maximizes an MDI subform
Mdinext activates the next MDI form (followed by the form of the activity form)
Mdirestore restores the MDI form to its original size.
Mdisetmenu associates a menu with an MDI form
Mdifitle tile all MDI forms
The message measureitem is sent to the window with buttons or other controls to be created.
The menuchar user uses a shortcut key, which is not supported by the system.
Menuselect selected a menu item
The mouseactivate user clicks the mouse in an inactive window
Mousemove the user's mouse
The non-customer zone of the ncactivate window will be activated soon.
The size of the nccalcsize window needs to be recalculated.
The nccreate window is about to create its non-customer Zone
Structure of the non-shared area in the ncdestroy window
Nchittest sends the message each time the non-customer zone is moved.
The nclbuttondblclk user clicked the left mouse button in the non-customer Zone
Ncpaint is not required by customers
Nextdlgctl transfers focus to another control in the dialog box
The customer area of the paint window needs to be drawn.
The paintclipboard clipboard application has a clipboard operation. The clipboard viewer needs to be repainted.
Palettechanged system palette changed
The paletteischanging system palette will be changed soon
Parentnotify notifies the parent window that a child window is about to be created
Querydragicon users need to drag a minimal window
Queryendsession notification message, indicating that the window is about to be closed
The querynewpalette application is about to receive the input focus, and the necessary Color adjustment should be performed.
Queryopen: a minimal window is about to be restored.
The last message processed by the quit Application
Renderallformats notifies the owner of a clipboard format, and the application will lose all formats
Renderformats notification message, indicating that the data placed on the clipboard should be transmitted in a special format
Setcursor

Setcursor notification message, indicating that the mouse pointer moves in a window
Setfont is used to change the font in the dialog box.
Setredraw is sent to the list box or general dialog box before a new item is added.
Settext is used to change the title or text of a window.
Sizeclipboard clipboard Viewer application resize
Spoolerstatus a print manager task is added or deleted
Syschar <alt> and other keys are simultaneously pressed
Syscolorchange one or more system colors are changed
SYSCOMMAND
Sysdeadchar notification message, indicating that a non-English character set is selected
The syskeydown user presses the <alt> key while pressing a key.
The syskeyup user has released the <alt> combination key
Timechange system clock modified
Undo copies text from the Undo buffer to the editor Control
Vkeytoitem when a list box has a focus, the user presses a key
The vscroll user clicks the vertical scroll bar
The vertical scroll bar of the vscrollclipboard clipboard viewer is clicked
Windowposchanged window position changed
The position of the windowposchanging window is about to change.
Wininichange win. ini file modified

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.