An application sends a CB_GETEDITSEL message to get the starting and ending character positions of the current selection in the edit control of a combo box.
CB_GETEDITSEL wParam = (WPARAM) (LPDWORD) lpdwStart; // receives starting position lParam = (LPARAM) (LPDWORD) lpdwEnd; // receives ending position
The return value is a zero-based 32-bit value with the starting position of the selection in the low-order word and with the ending position of the first character after the last selected character in the high-order word.
file: /Techref/os/win/api/win32/mess/src/msg01_19.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/12/26 05:14,
18.226.187.60:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/mess/src/msg01_19.htm"> CB_GETEDITSEL</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.