- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I realize that the Intel compiler in C++ would allow you to draw a graphic within a modal dialog box but can Fortran also do that and if so, what object can I draw into?
Thanks,
Brooks Van Horn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As a partial response #11 and #12, item 2 is quite trivial e.g. the following routine (with only 1 function line of code) would do that with quickwin dialogs.
subroutine dlg_SHOWHIDE(dlg, ID, LVISI, iret ) use Ifwin, only: dword, ShowWindow, GetDlgItem, SW_SHOW, SW_HIDE use iflogm, only: dialog implicit none type(dialog), intent(in) :: dlg ! alreday initialised quickin dialog integer, intent(in) :: ID ! resource ID logical, intent(in) :: Lvisi ! .true. to show, .false. to hide the control of ID integer(dword), intent(out) :: iret !If the window was previously visible, the return value is nonzero. !If the window was previously hidden, the return value is zero. if( LVISI) then iret = ShowWindow (GetDlgItem(dlg%hwnd, ID), SW_SHOW) else iret = ShowWindow (GetDlgItem(dlg%hwnd, ID), SW_HIDE) endif end subroutine dlg_SHOWHIDE
I don't agree with Paul that QuickWin is pointless, I think it allows some windows look and feel to a program that requires a lot less knowledge (=time) to get started than using the Windows API in full. The windows API is not difficult to use but there is much more time investment needed to getting started. There are many scientist and engineers that 'do a bit of programming' as a small part of their job and the Quickwin approach meets those needs as they simpily would not otherwise have the time to invest. Quickwin does not do everything the API can do and if it did it would be missing the point of its existance as a 'simplified' interface.
Link Copied
- « Previous
-
- 1
- 2
- Next »
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you got /subsystem:windows on the link properties?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
no, thx
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »