Hi,
I would like to set the windows Vertical when my app loads because it is set to the MDI. I have tried to the below code, but I got error.
bsVerb = "Commands.TitleWindowsVertical";
axCoPDFXCview1.DoVerb(bsVerb, "SET", vDataIn, out vDataOut);
vDataIn = "57652";
axCoPDFXCview1.DoVerb(null, "ExecuteCommand", vDataIn, out vDataOut, 0);
Would someone show me the correct method to do it. Thanks in advance
Arragne windows
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Arragne windows
Code: Select all
bsVerb = "Commands.TitleWindowsVertical";
axCoPDFXCview1.DoVerb(bsVerb, "SET", vDataIn, out vDataOut);
vDataIn = "57652";
axCoPDFXCview1.DoVerb(null, "ExecuteCommand", vDataIn, out vDataOut, 0);
Code: Select all
vDataIn = 57652;
// OR
// vDataIn = "TileWindowsVertical"; // Note: not "Title..." but "Tile..."
axCoPDFXCview1.DoVerb(null, "ExecuteCommand", vDataIn, out vDataOut, 0);
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 14
- Joined: Wed Dec 11, 2013 11:47 pm
Re: Arragne windows
Thanks. How can I check the windows is view on cascade or TileVertical in code?
-
- Site Admin
- Posts: 2445
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Arragne windows
No way for this in current version.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.