Go to the main dialog editor in the Resource View. Select the added AXControl on the form and open it's properties. From the properties pane, you can choose the Control's events - there should be only one event - OnEvent. Click the dropdown and choose Add OnEventPxvControl. Then you will have the handler. To handle the needed event, you will have to register it with the IPXV_Control::EnableEventListening method. Then you can check whether the nEventID is equal to your's event id and act accordingly.

Cheers,
Alex

Join us at Google+:https://plus.google.com/+PDFXChangeEditorTSSubscribe at:https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Go to the main dialog editor in the Resource View. Select the added AXControl on the form and open it's properties. From the properties pane, you can choose the Control's events - there should be only one event - OnEvent. Click the dropdown and choose Add OnEventPxvControl. Then you will have the handler. To handle the needed event, you will have to register it with the IPXV_Control::EnableEventListening method. Then you can check whether the nEventID is equal to your's event id and act accordingly.

Cheers,
Alex

thanks,another question.If not using mfc but Win32，then how to have a handler?

Hello Alex，
I want to get the save button click message, how to do it?
The function I want to achieve is that make a conditional judgment when get the message.
If true do operation A ,do not save the doc changed.

If you are using the C++ language, then you can easily understand the C# language. Basically, what you need to do is to create your class implementation of the IUIX_CmdHandler interface and then set is as a handler of the needed command. This sample shows how to do it in C#:https://gist.github.com/Polaringu/ad31ad433401c1c004d0

Cheers,
Alex

Join us at Google+:https://plus.google.com/+PDFXChangeEditorTSSubscribe at:https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

If you are using the C++ language, then you can easily understand the C# language. Basically, what you need to do is to create your class implementation of the IUIX_CmdHandler interface and then set is as a handler of the needed command. This sample shows how to do it in C#:https://gist.github.com/Polaringu/ad31ad433401c1c004d0

If you are using the C++ language, then you can easily understand the C# language. Basically, what you need to do is to create your class implementation of the IUIX_CmdHandler interface and then set is as a handler of the needed command. This sample shows how to do it in C#:https://gist.github.com/Polaringu/ad31ad433401c1c004d0

Hello Alex,
Thank you for your help.Now I have a problem that I can't solve.
When I handle the “cmd.saveTo” command,find that he mouse hovers over the menuitem "saveto" also get the "cmd.saveTo" command.
But In fact,The time I need to deal with "cmd.saveTo" command is when I click menuitem.Just like to deal with "saveToComp" command,this is what need.
What should I do? Please give me a hand~

To know the command ID - launch Customize Commands (Right Click on any command bar -> Customize Commands) and then right click the command that you need and selecte Properties. There you can see it's ID.

Cheers,
Alex

Join us at Google+:https://plus.google.com/+PDFXChangeEditorTSSubscribe at:https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

To know the command ID - launch Customize Commands (Right Click on any command bar -> Customize Commands) and then right click the command that you need and selecte Properties. There you can see it's ID.

Cheers,
Alex

Hello Alex,
I don't know where to do the operation what your said.
May you elaborate on that?

To know the command ID - launch Customize Commands (Right Click on any command bar -> Customize Commands) and then right click the command that you need and selecte Properties. There you can see it's ID.

Cheers,
Alex

Hello Alex,
I don't know where to do the operation what your said.
May you elaborate on that?

Hello Alex,
For example
After I executed the “Add a Place” command and add the “My Files’” folder，how can I handle the “My Files” Item's click command?
If I deal with "placesListSave" or "saveTo", not only mouse click it ,but also mouse hover it will get the hanlder. But I need to deal with click command but not hover.

Hello Alex,
Used Registration-Free(Click-Once) Method(PDFXEditCore.x86.X.manifest and PDFXEditCore.x86.DLL) can works well in Windows XP,but can't work in others x64 system.
I don't know how to do.Please help me,thank you.

Hello Alex,
Another question that I used "PlaceWatermark" instead of “op.document.addWatermarks” operation to add watermark ,what's the difference between both?
Is there any difference in execution speed?

Hello Alex,
I am used Win 32 CPU configuration to build.In 64-bit system, it is not successful to load "PDFXEditCore.x86.dll" or "PDFXEditCore.x64.dll" through manifest.
But In 32-bit system,it is works well.Below is the manifest I am used.Please help me,thank you.
PdfDemo.exe.manifest:

Maybe you are using the x64 dlls when installing on the x86 machine?
Can you provide us with those installs so we can test them?

Cheers,
Alex
Hello Alex,
I'm sure I use x86 dll.It can work well in 32-bit system when I use “PDFXEditCore.x86.dll” and "Resources.dat" and “PDFXEditCore.x86.X.manifest” and “PDFDemo.exe.manifest”，but not in 64-bit system.

Your manifest does not work at all. What we suspect is that you have the dll registered via the regsvr32 and thus the program uses it. You can see that by using the Process Explorer for example. Make sure that you have unregistered the dll and then try launching your project and it should fail. If it does fail then everything is OK now, and you can add the PDFXEditCore.x86.dll and Resources.dat file to the folder where the exe and manifest files are.

Cheers,
Alex

Join us at Google+:https://plus.google.com/+PDFXChangeEditorTSSubscribe at:https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ