i am using windows xp
and here it is the code i use to open the dialog.

Qt Code:
  1. QString fileName = QFileDialog::getOpenFileName();
To copy to clipboard, switch view to plain text mode 
with this code i get the native windows xp dialog but with buttons like windows 98.
and i am also used the code with an object
Qt Code:
  1. QFileDialog dialog(this);
  2. dialog.setFileMode(QFileDialog::AnyFile);
To copy to clipboard, switch view to plain text mode 
with this code i get a strange dialog that i think it belongs to Qt.