Hi all,
This function(which does a SendMessage(ctrlwnd, CB_SETEDITSEL,WP,LP))
sometimes doesnot work properly, instead use PostMessagectrlwnd,
CB_SETEDITSEL,WP,LP))
:))
TheMSsForum.com: The Microsoft Software Forum