Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - resizeable CXTBrowseDialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

resizeable CXTBrowseDialog

 Post Reply Post Reply
Author
Message
nobs View Drop Down
Groupie
Groupie
Avatar

Joined: 12 September 2006
Location: Austria
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote nobs Quote  Post ReplyReply Direct Link To This Post Topic: resizeable CXTBrowseDialog
    Posted: 28 September 2006 at 7:54am
In the documentation of the CXTBrowseDialog in the setOptions method
the description says:

  • BIF_USENEWUI Version 5.0. Use the new user interface, including an edit box. This flag is equivalent to BIF_EDITBOX | BIF_NEWDIALOGSTYLE. To use BIF_USENEWUI, you must call OleInitialize or CoInitialize before calling SHBrowseForFolder.
But where I have to call the initialize functions?
calling it before .doModal doesn't help.
(neither of the to Initialize functions)

The problem is, the dialog crashes after I resize it.

hpefully somebody can help

regards
Norbert

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 28 September 2006 at 8:50am

Hi,

 
In our sample I added dlg.SetOptions(BIF_USENEWUI); and it works without problems.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.