I have a Property Sheet that contains four instances of a Property Page - which has a RichEdit Control, PushButton (Save) and a checkbox.

Problem is, whenever any Property Page is displayed, all of the text in the Richedit Control is always selected.

In the RichEdit control, I did not set NoHide. Nor do I call SetOptions() or HideSelection() within the code.

(Actually, I tried calling HideSelection() but it had no effect).

I also reset the selection by calling SetSel(0,1) at every possible place e.g. OnInitDialog(), OnSetActive().

So, is there a way to prevent the text in the control from always being Selected when the Page becomes Active?

Thanks,

Bryan.