12-24-2006, 12:07 PM
Hello thanks for all the help with this just one last thing is it possible to change the lil green arrow icon on the dialog? i have a lil TV icon i would like to have inplace of it..could u show me how to change it or again point me in the right direction so i can work it out my self..
\Dialog_Editor
function# hDlg message wParam lParam
if(hDlg) goto messages
str controls = "3"
str e3
if(!ShowDialog("counter" &counter &controls)) ret
;BEGIN DIALOG
;0 "" 0x90C80A44 0x100 0 0 54 55 "TV"
;2 Button 0x54030000 0x4 3 40 48 14 "Cancel"
;3 Edit 0x54030080 0x200 3 4 24 14 ""
;4 Button 0x54032000 0x0 3 24 48 14 "start"
;END DIALOG
;DIALOG EDITOR: "" 0x2010900 "" ""
ret
;messages
mov 936 25 hDlg
sel message
,case WM_INITDIALOG
,DT_Init hDlg lParam
,ret 1
,case WM_TIMER
,if(wParam=1)
,,int c=GetProp(hDlg "count")+1
,,if(c=300) c=0; KillTimer(hDlg 1)
,,SetProp(hDlg "count" c)
,,str s=c; s.setwintext(id(3 hDlg))
,case WM_DESTROY DT_DeleteData hDlg
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case 4
,SetTimer(hDlg 1 1000 0)
,mac "TV Show"
,case IDOK
,DT_Ok hDlg
,case IDCANCEL
,DT_Cancel hDlg
ret 1