It's possible to do ?

It's possible to do ?

Anonymous
Not applicable
452 Views
2 Replies
Message 1 of 3

It's possible to do ?

Anonymous
Not applicable

Dear all.
I want add ICONS to the menu. It's possible to do ?
Thanks for any help!
BTW .My Icons in a DLL file.

 

// Menu file
***MENUGROUP=MyTools
***POP1
               [My tools(&L)] 
               [Batch print]^C^Cpldy         //I want add ICONS for this 
               [Text tool]^C^CTT
0 Likes
453 Views
2 Replies
Replies (2)
Message 2 of 3

paullimapa
Mentor
Mentor

Start CUI command

Find the Pop menu you want to add Icon

Select button images for Small image & Large image.

See example of attached image showing how the icon is displayed for the File>New command

 

 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 3

Anonymous
Not applicable

Thanks pli .

 

I know use CUI command.  I mean use lisp to write ,like this :

(defun create_klscl (/ f i)
  (if (not (menugroup "KLSCL")) 
    (progn
      (setq f (open "KLSCL.mnu" "W"))  
      (write-line "***MENUGROUP=KLSCL" f) 
      (write-line "" f)       
      (write-line "***POP1" f)         
      (write-line "" f)                  
      (write-line "[Text tools]" f) 
      (write-line " [--]" f) 
      (write-line " [Text Align  TA]^C^CTA" f) 
      (write-line " [--]" f) 
      (write-line " [Text Merge  TM]^C^CTM" f)
      (write-line " [->Modify          ]" f) 。
      (write-line " [Add Prefix  ADDP]^C^CADDP" f) 
      (write-line " [<-Add Suffix  ADDS]^C^CADDS" f) 
      (close f)    
      (command "menuload" "KLSCL.mnu") 
      (if (menugroup "KLSCL")
     ........
     ........
     ........
0 Likes