Re: SetCurSel Method

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Mon, 14 Aug 2006 15:04:02 -0700, Neil B
<NeilB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Is it right to assume that UpdateData(FALSE) should not follow the changing
of any control variable (ie. Ctree, CListBox, etc)? It should only be used
when changing a data variable (ie. int, BOOL, CString, etc)?

It should only be used after setting all data variables, because it will
transfer all of them to the controls. See this message for more:

http://groups.google.com/group/microsoft.public.vc.mfc/msg/1beb7cdaf010b0c6

--
Doug Harrison
Visual C++ MVP
.