Posts: 18
Threads: 5
Joined: Sep 2017
Hi Gintaras,
I see it is not possible to make an .exe from a toolbar. However I have a toolbar which I'd like to share to 2 people (it is quite a complex toolbar with dialogs etc in)
Is it possible to do this and if so how, if not is there an alternative?
Thanks,
Posts: 12,072
Threads: 140
Joined: Dec 2002
Posts: 18
Threads: 5
Joined: Sep 2017
Cheers.
How do I use Zorder to keep the dialog ontop of everything?
I was trying to use ont but realize its disabled lol
Posts: 18
Threads: 5
Joined: Sep 2017
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">BeepBot
lgProc: <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
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
Posts: 12,072
Threads: 140
Joined: Dec 2002
To set topmost, in Dialog Editor add style WS_EX_TOPMOST.
Zorder is unreliable because Windows often blocks it.
QM items of type "menu", "toolbar" and "autotext" cannot be added to exe. Use function ShowMenu.