I need to enable the user to use all the short-cut keys like "Ctlr+C" "Ctlr+V"...
I found that the application may use MsgToCommandAndExec , but when I try to use it an error happens.
Code: Select all
PDFView1.OpenDocument(val, 0, 0, 0); // open the file
docID = PDFView1.Property("Documents.Active", 0);
PDFView1.SetDocumentProperty(docID, "ReadOnly", "false", 0); // disables editing for specified document
PDFView1.DoVerb("", "ExecuteCommand", "ToggleAllBars", 0, 0);
PDFView1.DoVerb("", "MsgToCommandAndExec", DataIn(WM_KEYDOWN, 'O', 0, FCONTROL), DataOut, 0);
thanks
Tami