Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
count time in dialogs
#1
i was wondering if you could help me get a count timer into my function such as it will recieve the time from the computer and will display it and keep adding to it anyway to do this? i have just started dialogs and want to get into complex dialogs and would like to know how to do this please help. just a simple dialog was wondering if you could fix it for me.

dialog name "ken"

Code:
Copy      Help
;\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages

;BEGIN DIALOG
;0 "" 0x90C80A44 0x100 0 0 223 135 "Form"
;1 Button 0x54030001 0x4 120 116 48 14 "OK"
;2 Button 0x54030000 0x4 170 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2010808 "" ""


ret
;messages
if(message=WM_INITDIALOG) DT_Init(hDlg lParam)
;int param=DT_GetParam(hDlg)

sel message
,case WM_INITDIALOG
,ret 1
,case WM_DESTROY DT_DeleteData(hDlg)
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK DT_Ok hDlg
,case IDCANCEL DT_Cancel hDlg
ret 1

would greatly appriciate it
#2
there is already a post that regards that topic, its under General >> timer
#3
ok sorry didnt see tyvm exactly what i needed!
#4
ken Wrote:ok sorry didnt see tyvm exactly what i needed!
yw bro


Forum Jump:


Users browsing this thread: 1 Guest(s)