- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Dear colleagues,
I have written a Windows dialog-based application on the basis of the Whizzy example from the CVF 6.5 samples. I am performing sophisticated calculations described by my own subroutine, and want that each time my subroutine calculates a new point the progress bar in the dialog box be updated. However this does not happen: the progress bar first shows 0%, then (when ALL the calculations are finished) it is changed to 100%. (I am also unable to change any of the static text controls of the dialog until the program stops). Could you please help me to get it working smoothly? Here is my code for the progress bar:
retlog = DlgSet(dlg, IDC_PROGRESS, 0, DLG_RANGEMIN) retlog = DlgSet(dlg, IDC_PROGRESS, 500, DLG_RANGEMAX) retlog = DlgSet(dlg, IDC_PROGRESS, 0) do i = 1, 500 retlog = DlgSet(dlg, IDC_PROGRESS, i) call PointCalc(i,[other parameters]) enddo
Message Edited by Dan789 on 04-19-2005 10:20 AM
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Compiling Fortran...
Error: This name does not have a type, and must have an explicit type. [GETDLGITEM]
Error: This name does not have a type, and must have an explicit type. [SENDMESSAGE]
Message Edited by Dan789 on 04-19-2005 01:50 PM
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Error: This name does not have a type, and must have an explicit type. [MAKELONG]
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
But after this there is still something missing:
Compiling Fortran...
Warning: Variable HWND is used before its value has been defined.
In fact, HWND (which is used in the first line of the code kindly provided by Paul-Curtis)has not been defined in my program. My dialog was initialized by
recursive subroutine DoDialog( dlgParent, id, callbacktype )
without any handlers
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
use dfwin
use dflogm
use Yourglobals
integer id, callbacktype
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고