did you tried returning app.exe() ? edit:-> also use show() in maindialog instead of exec()
Frameless Window Helper
View Tag Cloud
Forum Rules
Bookmarks