Skip to main content

[archive] Windows dll flags

  • March 10, 2008
  • 2 replies
  • 0 views

[Migrated content. Thread originally posted on 08 March 2008]

I am trying to write a file open dialog box that allows multiple selections.

The dll requires flags like OFN_ALLOWMULTISELECT and others.

Is there any database somewhere that gives the values of all the flags/global constants used?

2 replies

[Migrated content. Thread originally posted on 08 March 2008]

I am trying to write a file open dialog box that allows multiple selections.

The dll requires flags like OFN_ALLOWMULTISELECT and others.

Is there any database somewhere that gives the values of all the flags/global constants used?
If you download the Windows SDK from Microsoft web site (no charge), this will give you all the header files for the Windows API. It is C of course, but search for the constant and you will get the hex value.

[Migrated content. Thread originally posted on 08 March 2008]

I am trying to write a file open dialog box that allows multiple selections.

The dll requires flags like OFN_ALLOWMULTISELECT and others.

Is there any database somewhere that gives the values of all the flags/global constants used?
If you download the Windows SDK from Microsoft web site (no charge), this will give you all the header files for the Windows API. It is C of course, but search for the constant and you will get the hex value.