WPCubed Product Support

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?

#1 ♥ 0
2.9k Views 2 users read 1 min
support

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

#2 ♥ 0
This category is archived. No new posts are possible.