|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to set focus to a new popup dialog?Hi,
I am new to vc.net. I want to double click an item of ctreectrl in a dialog and then get a new popup dialog, but the new one can't get the focus. The focus is still the item of ctreectrl. I used the SetFocus() in the dubble click callback, but it seemed no work. How can I resolve the problem? Thank you! Are you calling the Showdialog() method?
-- Show quoteHTH, Kevin Spencer Microsoft MVP Software Composer http://unclechutney.blogspot.com The shortest distance between 2 points is a curve. "joan" <yaoqi***@ustc.edu> wrote in message news:Ov$goHQSHHA.496@TK2MSFTNGP06.phx.gbl... > Hi, > I am new to vc.net. > I want to double click an item of ctreectrl in a dialog and then get a new > popup dialog, but the new one can't get the focus. The focus is still the > item of ctreectrl. > I used the SetFocus() in the dubble click callback, but it seemed no work. > How can I resolve the problem? > Thank you! > > > |
|||||||||||||||||||||||