Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Share Toolbar
#4
On top of the above question. I've tried to compile the below into an exe but I get the error "Error in <open ":24: /611">BeepBotBig GrinlgProc: <open ":27:">Software is not function. Cannot make exe: failed to compile."

Please see below for code - please note that "software","links" and "macros" are all Menu's - can you not add a menu to a dialog and compile it?

Thanks in advance


Function BeepBot
Code:
Copy      Help
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 192 14 "BeepBot"
;3 Button 0x54032000 0x0 0 0 48 14 "Contracts"
;4 Button 0x54032000 0x0 48 0 48 14 "Software"
;5 Button 0x54032000 0x0 96 0 48 14 "Links"
;6 Button 0x54032000 0x0 144 0 48 14 "Macros"
;END DIALOG
;DIALOG EDITOR: "" 0x2040700 "*" "" "" ""

if(!ShowDialog(dd &sub.DlgProc 0)) ret


#sub DlgProc
function# hDlg message wParam lParam

sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
,case WM_ACTIVATE

ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
,case 3
,Contracts
,case 4
,mac "Software"
,case 5
,mac "Links"
,case 6
,mac "Macros"
ret 1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)