Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
rep dialog
#14
ok john will do but i actually hve one more question for ya is it possible to make that dialoged encytped and run it in another mac like this

do u no wut i mean so then i can encrypt the dialog but still run the mac using the dialog

Macro1
Code:
Copy      Help
str controls = "3";;                                       ;
str e3;;                                                   ;
if(!ShowDialog("Dialog2" &Dialog2 &controls)) ret;;        ;
int math1=val(e3);;                                        ;
rep math1
,lef 412 231
,but+ id(5011 "Yahoo Messenger")
,lef 21 32
,mov 0 0 "Yahoo Messenger"
,key "Open-Closed"
,out "done"


Dialog2

Code:
Copy      Help
;/DIALOG_EDITOR

function# hDlg message wParam lParam
if(hDlg) goto messages

;BEGIN DIALOG
;0 "" 0x90C80A44 0x100 0 0 141 58 "Amount of K's to Chip"
;1 Button 0x54030001 0x4 16 28 48 14 "OK"
;2 Button 0x54030000 0x4 78 28 48 14 "Cancel"
;3 Edit 0x54032080 0x200 22 10 96 14 ""
;END DIALOG
;DIALOG EDITOR: "" 0x202000A "" ""


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)