CompuServe Messages

Wake Up List Box

    10-Jul-94 23:29:38
Sb: #30003-Wake Up List Box
Fm: Brian Ku 72262,1600
To: Syndesis 76004,1763
Hi John, > I'll re-state my earlier question. I customized CFileDialog by adding > a new list box. How do I "wake up" the list box so that when I add > items to it, they show up on the screen? This isn't happening now. > When I Dump'd the dialog, it said this list box was "detached." If this listbox is a control type data member of your customized derived CFileDialog and you're calling AddString() to add items, then you'll need to call UpdateData(FALSE) to initialize the control. Hope this information helps! Brian Ku -Microsoft Developer Support