Share Toolbar

Creating macros. Working with QM.

Share Toolbar

Postby oImageZo on Fri Oct 13, 2017 8:29 am

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,
oImageZo
 
Posts: 15
Joined: Wed Sep 13, 2017 8:09 am

Re: Share Toolbar

Postby Gintaras on Fri Oct 13, 2017 10:29 am

Gintaras
Site Admin
 
Posts: 10386
Joined: Thu Dec 19, 2002 7:36 pm
Location: Lithuania

Re: Share Toolbar

Postby oImageZo on Fri Oct 13, 2017 1:44 pm

Cheers.

How do I use Zorder to keep the dialog ontop of everything?

I was trying to use ont but realize its disabled lol
oImageZo
 
Posts: 15
Joined: Wed Sep 13, 2017 8:09 am

Re: Share Toolbar

Postby oImageZo on Fri Oct 13, 2017 2:04 pm

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:DlgProc: <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

oImageZo
 
Posts: 15
Joined: Wed Sep 13, 2017 8:09 am

Re: Share Toolbar

Postby Gintaras on Fri Oct 13, 2017 2:11 pm

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.
Gintaras
Site Admin
 
Posts: 10386
Joined: Thu Dec 19, 2002 7:36 pm
Location: Lithuania


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron