PDA

View Full Version : Non-Modal about dialog?



N3wb
7th December 2010, 23:50
It it possible to have a non-modal QMessageBox::about dialog box? I want to have a hyperlink in the dialog box that the user can click to go to a website, which I implemented with this code:



HINSTANCE status =::ShellExecute( this->winId(), NULL,
( TCHAR * ) L"www.google.com", NULL, NULL, SW_SHOW );


But the url doesn't open until I click the OK button in the dialog box, which I'm assuming is because the dialog box is blocking the program?

Appreciate any advice you might have!

tbscope
8th December 2010, 05:47
http://doc.qt.nokia.com/4.7/qdialog.html#modal-prop