11-02-2006, 01:11 AM
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"
would greatly appriciate it
dialog name "ken"
;\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