One thing i don't have clear is the use of modeless dialogs without resorting to the fortran windows app. environment.
Assume i have a quickwin project which contains various dialogs activated by a frame-window callback routine such as:
LOGICAL(KIND=4) FUNCTION INITIALSETTINGS
qw%type = QWIN$MAX
iret = SETWSIZEQQ(QWIN$FRAMEWINDOW,qw)
mnum = 1
mname = '&My Dialog'C
IF (.NOT.APPENDMENUQQ &(mnum,$menuenabled,mname,call_dialog)) THEN
INITIALSETTINGS = .FALSE.
INITIALSETTINGS = .TRUE.
end subroutine call_dialog
!---- display dialog-------------
if (.not. DlgInit(IDD_copump_panel, dlg)) then
write (*,*) "Error: dialog not found"
retint = DlgModal(dlg)
Some routines in the projects also open windows with
OPEN (number, file='user',title='my title')
and put in there some graphical output (for example, the output from SCIGRAPH)
My first question is: what defines a project like this as a "QuickWin" project? I just see it's a project that uses DFLOGM. However, when i started using the fortran app wizard, i started it as a multiple-window "QuickWin project". What are the ripercussions of that initial choice?
The reason i ask is that QuickWin apps. are said to be unable to handle modeless dialogs. But i have seen examples of modeless dialogs handled through DFLOGM.
What exactly does make a project unable to have modeless dialogs?
How can i incorporate a modeless dialog in my project (shortly described above) without rebuilding everything into a Fortran Windows application?
Thanks so much for the much needed inputs!