Quote Originally Posted by kwisp View Post
Can you represent your code here?
I used the following code (from the Windows Flags example in Qt Assistant):

Qt Code:
  1. Qt::WindowFlags flags = 0;
  2. flags |= Qt::WindowMaximizeButtonHint;
  3. flags |= Qt::WindowContextHelpButtonHint;
  4. setWindowFlags( flags );
To copy to clipboard, switch view to plain text mode 
I tried passing the flag parameter into my dialog and using it as a parameter to QDialog.
Qt Code:
  1. MyDialog dlg( this, flags );
  2.  
  3. // The constructor looks like:
  4. MyDialog::MyDialog( QWidget *parent, Qt::WindowFlags flags ) : QDialog( parent, flags )
To copy to clipboard, switch view to plain text mode 
I also tried the code inside the constructor of the dialog.

On the Windows XP platform, it appears that anytime you use the WindowMaximizeButtonHint the context help button is not displayed.