Hi all,

I am using the common dialog control to display the print dialog box...

When this returns I need to check what teh user selected.. eg Collate, PrintToFile, PrintSelection..

I know these are set in the Common dialogs Flag property, but they are all stored in a single number...

In VB how can UI check which bits are set?