wpdiaLoad and wpdiaSaveAs

  • How do I load a file which I have saved in WPT file format, using

    wpEditor->OpenDialog(wpdiaSaveAs);


    It is not possible using the code:

    wpEditor->OpenDialog(wpdiaLoad);

    because WPT format (as well as All files) is not listed in Filter list of the Open dialog.

    What am I missing?

    • Offizieller Beitrag

    Hi,

    It is not intended to call the OpenDialog function like this. This function is mainly to make it possible to override the function in a different class.

    You can use Load() and SaveAs() and pass a filter string there.

    Julian