Results 1 to 5 of 5

Thread: Combining flags

Threaded View

  1. #1

    Thread Starter
    Fanatic Member TheVader's Avatar
    Join Date
    Oct 2002
    Location
    Rotterdam, the Netherlands
    Posts
    871

    Resolved Combining flags

    Hi,

    Sorry for the stupidity of the question, but I'm really stuck. I want to combine two flags in a BrowseInfo structure that is used with the SHBrowseForFolder API.
    VB Code:
    1. dlgBrowse.ulFlags = BIF_NEWDIALOGSTYLE [b]And[/b] BIF_RETURNONLYFSDIRS
    Independently they work, but together they don't. I've tried 'And', 'Or', +, and &, but I can't get it to work. How can I combine those flags?

    Thanks.
    Last edited by TheVader; Nov 20th, 2004 at 08:20 AM.
    Author for Visual Basic Web Magazine

    My articles on the Web Browser Control:
    Using the Web Browser Control & Using the DHTML Document Object Model

    The examples referenced in the articles can be found here:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width