> I am new to Pegasus Mail. I had recently started using Pegasus Mail. I want to customize it for me. I have one query regarding a toolbar in
> PM. I want to have my own toolbar of 4-5 buttons in PM. But I want to implement all functionality of these toolbar buttons in a single win32
> DLL.
>
> I had seen some threads on forum but all of them discussed about available toolbar of PM using "toolbar.pm" file. But I want my own
> toolbar icons. Another option which came in my mind, if I use extension option then I can add different .BMP files in toolbar and
> can direct them to a single DLL using .FFF file. But how can I identify in my DLL which button is clicked of the toolbar?
You need to have a toolbar.pm file to replace the existing toolbar. You can then use the menubtn.dll to create the buttons that you do want to use on the toolbar. This can be one FFF file with many forms.
;
; Form Fact File for the Menu Button Extension
; Copyright (c) 1997 Bill Froelich, all rights reserved.
;
; For details on the Menu Button Extension see menubtn.txt
;
; For information on the format of this file, see FFF.TXT in this directory.
;
Form Name = "Selective Mail Download"
32-bit model = 1
Form DLL = ~a\MENUBTN.DLL
Form type = COMPOSER
Form flags = 66
Form data = "213"
Bitmap file = ~a\seldnld.bmp,Selective Mail Download
End
Form Name = "Notepads"
32-bit model = 1
Form DLL = ~a\MENUBTN.DLL
Form type = COMPOSER
Form flags = 2
Form data = "119"
Bitmap file = ~a\notepad.bmp,Notepads
End
<p>&gt; I am new to Pegasus Mail. I had recently started using Pegasus Mail. I want to customize it for me. I have one query regarding a toolbar in
&gt; PM. I want to have my own toolbar of 4-5 buttons in PM. But I want to implement all functionality of these toolbar buttons in a single win32
&gt; DLL.
&gt;
&gt; I had seen some threads on forum but all of them discussed about available toolbar of PM using "toolbar.pm" file. But I want my own
&gt; toolbar icons. Another option which came in my mind, if I use extension option then I can add different .BMP files in toolbar and
&gt; can direct them to a single DLL using .FFF file. But how can I identify in my DLL which button is clicked of the toolbar?
You need to have a toolbar.pm file to replace the existing toolbar.&nbsp; You can then use the menubtn.dll to create the buttons that you do want to use on the toolbar.&nbsp; This can be one FFF file with many forms.
;
; Form Fact File for the Menu Button Extension
; Copyright (c) 1997 Bill Froelich, all rights reserved.
;
; For details on the Menu Button Extension see menubtn.txt
;
; For information on the format of this file, see FFF.TXT in this directory.
;
Form Name = "Selective Mail Download"
32-bit model = 1
Form DLL = ~a\MENUBTN.DLL
Form type = COMPOSER
Form flags = 66
Form data = "213"
Bitmap file = ~a\seldnld.bmp,Selective Mail Download
End
Form Name = "Notepads"
32-bit model = 1
Form DLL = ~a\MENUBTN.DLL
Form type = COMPOSER
Form flags = 2
Form data = "119"
Bitmap file = ~a\notepad.bmp,Notepads
End</p><p>&nbsp;</p>