Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(Solved)...Adding a Menu bar to QM Dialog
#8
I got it, had to take all the spaces out of the menu bar definitions.

Function ( Call_Menubar )
Code:
Copy      Help
str DC=
;BEGIN DIALOG
;0 "" 0x10CF0A44 0x100 0 0 294 190 "Dialog"
;3 RichEdit20A 0x54233044 0x200 0 0 294 190 ""
;END DIALOG
;DIALOG EDITOR: "" 0x2020009 "*" ""


str menubar=
;BEGIN MENU
;>&File
;&Save : 100 0 0 Cs
;&Open : 101 0 0 Co
;-
;>&Recent
;Empty : 102 0 3
;<
;<
;>&Edit
;Cu&t : 103 0 0 Cx
;-
;Select &All : 104 0 0 Ca
;<
;&Help : 105 0
;END MENU


str controls = "3"
str rea3
if(!ShowDialog(DC &DialogWithMenu &controls 0 2 0 0 0 0 0 "dialog.ico" menubar)) ret


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)