How to add options to the wingcc dirver

2009-04-01
2013-03-15
  • Hi,
          When we right click on the plplot graph window we will get a popup menu. Is there is a way to add a menu item pdf and clicking on this menu item leads to a pdf file ?

    Thanks
    Subrahmanyam

     
    • Werner Smekal
      Werner Smekal
      2009-04-01

      Hi,

      no, there is no easy way other then to improve the wingcc driver itself. But this would be rather straight forward - the wxWidgets driver provides something similar. Just add a menu option, catch the event or set the signal slot and create a new stream, init as pdf device and copy from the current stream. You may ask for a filename, page size, etc. I can't be of any further help, since I have no experience whatsoever with the Windows API.

      Regards,
      Werner

      PS: You could ask the developer mailing list for help, since not many developers read the forums. Maybe one of them can help you.

       
    • Hi,

              Can you please provide the developer maliing list url.

      Thanks
      Surbahmanyam