- Gary
Presumably the focus is being set to the edit control when the page is
made active. If you're using MFC, you can override
CMyPropertyPage::OnSetActive() and then do this:
m_MyEdit.SetSel(0, 0);
Chip
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"Make it idiot-proof and someone will make a better idiot."
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Replace "nospam" with "erols" to email me.
- Gary
: Presumably the focus is being set to the edit control when the page is
gary li-chung lin <gl-...@ux8.cso.uiuc.edu> wrote:
: I tried SetSel(...) function, but for some reason it doesn't work at all.