Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / QBrowseDialog.inc

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. QBrowseDialog.inc
#554
Posted by: 2002-10-14 19:42:49
Hi there...

I can't make QBrowseDialog.inc work the way I want it..

First of all there is a mistake in the program:

     CONST BIF_RETURNONLYFSDIRS = 1
     const BIF_DONTGOBELOWDOMAIN = 2
     const BIF_NEWDIALOGSTYLE = 64
     const BIF_BROWSEINCLUDEFILES = 16384

 (more constants can be added .... see:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/Shell/reference/structures/browseinfo.asp)

        BI.ulFlags = BIF_RETURNONLYFSDIRS OR BIF_NEWDIALOGSTYLE OR BIF_DONTGOBELOWDOMAIN OR BIF_BROWSEINCLUDEFILES

The author missed the ulFlags when filling the struct before calling the function...

But that is not my issue... even though I've selected BIF_DONTGOBELOWDOMAIN i still see 'My Network Places'..

Please tell me what's wrong... I don't want anything else than local drives or mounted drives.

Thanx again.

/A
Message2. How about QDirTree or QFileListBox?
#556
Posted by: guidance 2002-10-15 06:49:31
They're built-in and local drives only.
Message3. Re: How about QDirTree or QFileListBox?
#561
Posted by: 2002-10-15 18:58:57
Thanx for the input. but I need the added functionality of the windows browser...

Right now im filtering out everything that starts with //...

Tnx.

/A
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Mon 2024-10-7  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0