17 Feb 2012 02:00
Re: CShellFileOpenDialog/CShellFileSaveDialog hang up my App
What is GetParent() returning in your code? Cheers, Nenad 2012/2/16 Konstantin Mironovich <const@...> > probably something wrong with my App mainloop. > fd.DoModal(::GetDesktopWindow()) works fine. > > > -km > > ----- Original Message ----- > From: "Konstantin Mironovich" <const@...> > To: <wtl@...> > Sent: Wednesday, February 15, 2012 11:37 PM > Subject: [wtl] CShellFileOpenDialog/CShellFileSaveDialog hang up my App > > > > Hello, > > > > I wonder but I cannot find the reason. > > The code is: > > > > CShellFileSaveDialog fd; > > > > if (fd.DoModal(GetParent()) == IDOK) > > > > { > > > > CStringW s; > > > > fd.GetFilePath(s); > > > > } > > > > DoModal() hangs my WTL-based program. I believe the latest WTL build is > > used > > under Vista x64 + Sp2. > > > > > > Thanks > > > > -km > > > > > > > > ------------------------------------ > > > > Yahoo! Groups Links > > > > > > > > > > > > ------------------------------------ > > Yahoo! Groups Links > > > > [Non-text portions of this message have been removed] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/wtl/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/wtl/join (Yahoo! ID required) <*> To change settings via email: wtl-digest@... wtl-fullfeatured@... <*> To unsubscribe from this group, send an email to: wtl-unsubscribe@... <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RSS Feed