please dont rip this site Prev Next

CB_SETEDITSEL Overview  Group

An application sends a CB_SETEDITSEL message to select characters in the edit control of a combo box.

CB_SETEDITSEL 

wParam = 0;                                // not used; must be zero 

lParam = MAKELPARAM((ichStart), (ichEnd);  // start and end position 

 

Parameters

ichStart
Value of the low-order word of lParam; this specifies the starting position. If this parameter is set to -1, the selection, if any, is removed.
ichEnd
Value of the high-order word of lParam; this specifies the ending position. If this parameter is set to -1, all text from the starting position to the last character in the edit control is selected.

Return Values

If the message succeeds, the return value is TRUE. If the message is sent to a combo box with the CBS_DROPDOWNLIST style, it is CB_ERR.

Remarks

The positions are zero-based. The first character of the edit control is in the zero position. The first character after the last selected character is in the ending position. For example, to select the first four characters of the edit control, use a starting position of 0 and an ending position of 4.

See Also

CB_GETEDITSEL 


file: /Techref/os/win/api/win32/mess/src/msg02_6.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/12/25 17:00,
TOP NEW HELP FIND: 
3.144.104.175: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/mess/src/msg02_6.htm"> CB_SETEDITSEL</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to massmind.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .