Hi Tracker,
Can you please provide us a way to clear the "Find" text box of the tracker previewer programmatically. Below is the code we us to find text inside the pdf. We just need a way to clear it out after.
Dim oDataOut As Object = 0
Dim oDataIn(1) As String
oDataIn(0) = "Find"
oDataIn(1) = sSearchString
tpdf1.DoVerb("", "ExecuteCommand", oDataIn, oDataOut, 0)
Any help will be appreciated.
Need a way to clear the "Find" text box
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 518
- Joined: Thu Dec 06, 2007 8:13 pm
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Need a way to clear the "Find" text box
Hello docu-track99,
Passed this question to the appropriate developer, but he is in our Canadian office, so the reply will be posted here a bit later.
Regards,
Stefan
Passed this question to the appropriate developer, but he is in our Canadian office, so the reply will be posted here a bit later.
Regards,
Stefan
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Need a way to clear the "Find" text box
Hi, docu-track99.
Use special command for it:
HTH
Use special command for it:
Code: Select all
CComVariant val(36341L); // "Clear Find List"
m_spView->DoVerb(NULL, ATL::CComBSTR(L"ExecuteCommand"), val, NULL, 0);
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.