WxFrame or wxWindow for my custom Acrobat modal window?
I need create simple custom modal window for my plugin, that will have 2 comboboxes and 2 buttons. What type of window I can use best for my task: wxWindow or wxFrame?
Ah - now I see. I don't know enough about the differences between wxWindow and wxFrame to say - sorry
Similar Messages
-
How to create a "Custom Color" for highlighting? (Acrobat XI)
March 10, 2014
How to create a "Custom Color" for highlighting? (Acrobat XI)
The numbers in the RGB and other fields change as various numbers are changed.
I wanted to create a pale orange:
Hue 13 Red 255
Saturation 240 Green 177
Luminosity 86 Blue 140
I'd selected one of the orange squares in the color grid, to display the general orange area of the slider.
I moved the slider to select a pale orange, which generated the above numbers. Since this wasn't directly available to save to a Custom Color, I tried to edit the numbers. Unfortunately, the other numbers changed, making it impossible to actually create a color.
Any suggestions would be appreciated.
Note: I used Techsmith's Snagit to show screen shots in a Word document.
When I attempted to browse and upload the file, the error message said "[The content type of this image is not allowed.]"
OK...what images *are* allowed?Hi Don,
I saw Gilad answered your question in another forum post.
Do you have everything you need at this point?
Let me know if you need further assistance.
Kind regards, Stacy -
Is there a date entry widget for XMP custom file info panels?
Looking through the Custom File Info Panels documentation, the samples, and the default info panels presented in Photoshop, I can't find any reference to a date entry widget - the closest I've seen is the date_static_text widget.
Is there any way to present an editable, validating date entry field to our end-users through the File Info panel?
(the info we're wanting to store is a release date so it's user-specified, and not derivable from the file in any way)Mark,
The PDF/A extension schema provides a big step to the self-sufficient functionality that you are asking about. It permits the XMP schema description information of custom XMP schemas to be embedded into the XMP as payload so that the file can be opened in years to come and the target metadata acurately interperted. Currently, PDF tools are active candidate to make use of this facility. However, there is nothing preventing future use with other file formats, and other tools (via plug-ins?).
It does not include vocabulary, static text, and panel presentation layout information.
http://www.pdfa.org/doku.php
It defines a "known" subset of standard XMP properties from the 2001 XMP Spec. Everything else is "custom".
You could craft a custom File Info "template" with the PDF/A extension for your custom XMP fields. Then import the template into each file.
The PDF/A extension schema itself is implemented with multi-dimensional XMP arrays. MetaGrove Plug-in dialog screen shots can be viewed on http://www.poundhillsoftware.net/Acrobat.htm
Regards,
Carl Rambert -
Acrobat looses windows focus after showing a wxWidgets modal dialog
Here's a code sample:
AVWindow dlgWindow = AVWindowNewFromPlatformThing(AVWLmodal, NULL, NULL, gExtensionID, dlg->GetHWND());
AVAppBeginModal(dlgWindow);
dlg->ShowModal(); // dlg is a wxDialog*
AVWindowDestroy(dlgWindow);
AVAppEndModal();
This works in so far as the wxWidgets window is modal with respect to Acrobat, however when we do AVAppEndModal Acrobat does not get the windows focus back. In fact some other open application gets it instead, which is a problem for the end user.
If I take away the Begin and End, I do not get the focus problem, however I do not get the modal nature either.
Any ideas on how to solve this?
Thanks
SimonHi,
I see this too.
The only workaround I found is to use Windows api to find the Acrobat window and switch back to it maually. There is a flicker, but at least the user is back in his original window.
I can confirm this behaviour on Wndows XP, Vista, and 7 in Acrobat 8, Acrobat 9 and Acrobat 10.
Simple code that works for me:
void SetWinFocusBackToAA()
#ifdef WIN_PLATFORM
if (gHWND) SetForegroundWindow(gHWND); //AA 8 MDI
else
HWND AAhwnd = FindWindow(L"AcrobatSDIWindow", NULL);
if (AAhwnd) SetForegroundWindow(AAhwnd);
#endif
I do not see such a problem on Mac OS X.
I suspect the problem lies in setting correct parent for the modal window, but I have not been able to find one (for some years now).
Also this does not happen when the modal wx dialog is a child of another wx windows (a modeless window).
Polda -
Calulate for division in Acrobat X
How do I calulate for division in Acrobat X? I do not know javascript and it appears that for simple division this might be what I have to figure out--fast. Thank you.
I just notice errors in the code:
The line:
var divisor = "Total Taxable Payroll";
Should be:
var cDivisor = "Total Taxable Payroll";
The line:
var cDividend = Total Benefit Charges";
Should be:
var cDividend = "Total Benefit Charges";
The line:
if(nDivisor != "") && Number(nDivisor) != 0 && !isNaN(Number(nDivisor))){
Should be:
if(nDivisor != "" && Number(nDivisor) != 0 && !isNaN(Number(nDivisor))){
// custom calculation script for the Benefit Ratio field
// change for the field names
var cDivisor = "Total Taxable Payroll";
var cDividend = "Total Benefit Charges";
// DO NOT MAKE ANY CHANGES BELOW THIS LINE
// clear field value in cas no update
event.value = "";
// get the value of fields
var nDivisor = this.getField(cDivisor).valueAsString;
var nDividend = this.getField(cDividend).valueAsString;
// process if we have a non-blank numeric divisor
if(nDivisor != "") && Number(nDivisor) != 0 && !isNaN(Number(nDivisor))){
event.value = nDividend / nDivisor; -
How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?
Dear Friends,
I am absolutely agree with your answer .
But my question is,
Lets say.....
One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
Hope you all understood my requirement .
Thanks & Regards,
Aditya -
* is coming while priniting smartform of multiple pages for a customer
Hi Experts,
I m priniting the smartform for the Customer statement and i m using SFSY-PAGE and SFSY-FORMPAGES for the page number and for total number for pages. There am facing the problem of * in SFSY-FORMPAGES..
If the total no of pages is single digit like 8 or 7 it is printing page 1 of 8 etc, but if it is double digit in the sense like 11, it is printing Page 1 of * Page 2 of * and Page 10 of 11.... I have used the Z and C in the variables in Smartform...
Please help me to solve thisHi,
Refer Question Why SFSY-FORMPAGES is output as a star "" instead of the total number of pages?* from the below link
http://wiki.sdn.sap.com/wiki/display/ABAP/SmartFormsFAQ#SmartFormsFAQ-WhySFSYFORMPAGESisoutputasastar%22%22insteadofthetotalnumberofpages%3F
Thanks,
Pawan -
SSO not working for a custom WDA application that runs in the Portal
I have a Portal system (Java stack, NW04s) that has an iView of type webDynpro ABAP. The custom Web Dynpro ABAP application resides on another system (ABAP stack, running ECC6). We have configured the trust relationship between the Portal and the ECC system as per
http://help.sap.com/saphelp_nw04s/helpdata/en/61/42897de269cf44b35f9395978cc9cb/content.htm
We know this is working since we are able to run ESS. However, for the custom WebDynpro ABAP application, when calling it for the first time, a logon screen shows up. How can we get rid of it? what are we missing to have SSO work for the custom WebDynpro application?Please check this link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d35bb690-0201-0010-988a-d669c8530518
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2fhelp%2fsdn_help_nw04s%2fsaphelp_nw04s%2fhelpdata%2fen%2f5e%2f6c85c3edf942f39349a1e337434d29%2fcontent.htm
Hope it helps.
Regards,
Mona -
Hello folks,
I am looking for best practices advice when (1) creating
custom components and (2) styling and skinning.
I already know how to skin a component part of the Flex
framework. I can make a class extending ProgrammaticSkin and have
my component skinned using CSS to link the component with the
reference to my custom class.
However what about those cases when you are completely
creating a component from scratch?
Imagine a "Freehand Drawing Canvas" component that allows the
user to draw on it and has some buttons to set color styles, line
styles, etc., or imagine a "Screen Flow Gallery" component that
displays visual objects in a fashion similar to Cover Flow in the
Mac.
In many components I am aware you may reuse other components
part of the Flex framework but I am trying to picture an scenario
where you would need to draw everything yourself because there just
isn't something to base it upon so you will end up drawing it from
scratch.
To learn how instead of building one of those components I
mentioned previously I decided to start with something simple that
would illustrate this like a LiteButton component that will behave
just like the Flex mx.controls.Button but will extend UIComponent
and be completely custom drawn.
The component will have a default look and will also be
style-able and skin-able. I will provide styles for users of the
component to modify and regarding skinning anyone can create a
custom ProgrammaticSkin adding its own drawing logic and link it to
the component via CSS with the ClassReference applied to the skin
selector.
So far so good and it's clear what I want to achieve. I
actually know how to do most of the stuff here but I have one
single problem.
Here is my question, where should I put my custom drawing
logic? If I do it in the updateDisplayList inside the class
extending UIComponent it works, however I thought that it would be
a better practice to do it using programmatic skins, that way I
could provide different skin themes for my component set.
The problem is that I can't make the programmatic work in
this scenario. I tried instantiating the custom programmatic skin
during the updateDisplayList of the LiteButton component and adding
it to my display object via addChild but that didn't do anything. I
also tried creating a "default.css" stylesheet and tried to use
ClassReference as I would normally do to skin an already existing
component (or composite component as well) but that didn't do
anything either.
So how do I apply programmatic skins for completely custom
drawn components of my Flex library project?
I could do it inside the updateDisplayList of the LiteButton
class extending UIComponent but again I would like to provide
different theme sets for my components so it makes sense using
programmatic skins."jbucaran" <[email protected]> wrote in
message
news:[email protected]...
> Hello folks,
>
> I am looking for best practices advice when (1) creating
custom components
> and
> (2) styling and skinning.
>
> I already know how to skin a component part of the Flex
framework. I can
> make
> a class extending ProgrammaticSkin and have my component
skinned using CSS
> to
> link the component with the reference to my custom
class.
>
> However what about those cases when you are completely
creating a
> component
> from scratch?
>
> Imagine a "Freehand Drawing Canvas" component that
allows the user to draw
> on
> it and has some buttons to set color styles, line
styles, etc., or imagine
> a
> "Screen Flow Gallery" component that displays visual
objects in a fashion
> similar to Cover Flow in the Mac.
>
> In many components I am aware you may reuse other
components part of the
> Flex
> framework but I am trying to picture an scenario where
you would need to
> draw
> everything yourself because there just isn't something
to base it upon so
> you
> will end up drawing it from scratch.
This may help with that
http://livedocs.adobe.com/flex/3/html/help.html?content=skinstyle_3.html
> To learn how instead of building one of those components
I mentioned
> previously I decided to start with something simple that
would illustrate
> this
> like a LiteButton component that will behave just like
the Flex
> mx.controls.Button but will extend UIComponent and be
completely custom
> drawn.
>
> The component will have a default look and will also be
style-able and
> skin-able. I will provide styles for users of the
component to modify and
> regarding skinning anyone can create a custom
ProgrammaticSkin adding its
> own
> drawing logic and link it to the component via CSS with
the ClassReference
> applied to the skin selector.
>
> So far so good and it's clear what I want to achieve.
Actually after
> playing
> with the weekend and today I know how to do most of the
stuff but I have
> one
> single problem. So here is my question, where should I
provide my custom
> drawing logic? If I do it in the updateDisplayList
inside the class
> extending
> UIComponent it works, however I thought that it would be
a better practice
> to
> do it using programmatic skins, that way I could provide
different skin
> themes
> for my component set.
These aren't mutually exclusive. When you provide a skin with
a
TypeSelector, you have to add it to the display list
somewhere, and this is
typically done in updateDisplayList or addChildren. I prefer
to do it in
updateDisplayList, because you can then change it if the
style changes.
> The problem is that I can't make the programmatic work
in this scenario. I
> tried instantiating the custom programmatic skin during
the
> updateDisplayList
> of the LiteButton component and adding it to my display
object via
> addChild but
> that didn't do anything.
Exactly what did you do?
> I also tried creating a "default.css" stylesheet and
> tried to use ClassReference as I would normally do to
skin an already
> existing
> component (or composite component as well) but that
didn't do anything
> either.
I've never had any problem using an approach similar to
this...but I will
say that I couldn't see any advantage in creating a
default.css style sheet,
since it's not really default in the way that the one that
comes with Flex
is. It's much more obvious to anyone using your component
what's going on
there if you create a style sheet where they're likely to
spot it.
> So how do I apply programmatic skins with the default
look for custom
> drawn
> components?
It seems like your approach is fine, but maybe you've made a
mistake in your
implementation.
> I could do it inside the updateDisplayList of the
LiteButton class
> extending
> UIComponent but again I would like to provide different
theme sets for my
> components so it makes sense using programmatic skins.
You might want to consider also adding an instance of
HaloBorder to your
component. That brings a lot of functionality with it.
HTH;
Amy -
I built a website for a customer using HTML only, so it would work on any browser, and it works perfectly on everything except ipad safari. I'm loosing information with most of my text numbers - instead of being black they are displaying a 'ghost' image (white) of the numbers.
Is this a memory issue, or cache issue, or something else? I've downloaded iCab and the site works perfectly with it.
Also wondering if I can manually reload/refresh web pages in iPad Safari.
Since most people with iPads will use Safari rather than iCab, I have to tweak this site to work in Safari.Detecting phone numbers and making them clickable is a feature of the browser, and rebuilding your web-site links will not make any difference. Its done when the page is shown in the browser, not when the page is created.
According to the Safari iOS developers guide, you can turn these data detectors off using this code:
<meta name = "format-detection" content = "telephone=no">
http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Referen ce/Articles/PhoneLinks.html -
How to get the salesprice and condition for a customer / material / date
Hi all,
how can I get the correct price and condition for a customer / material / date ?
I know this is possible using the BAPI_SALESORDER_SIMULATE, but this bapi is using to much ressources on the system.
I'm trying to get the correct price and condition WITHOUT using that BAPI.
Does anyone know how it is possible ? As said before : I have the customer, material and a date.
thanks in advance for your helpHi
You need it because it's possible to have a complex pricing procedure, and you can't do it with a simple select on a table. Think that you can have pricing requirements, formulas (ie: VOFM) and so on in your pricing procedure (tcode V/08).
I hope this helps you
Regards
Eduardo -
Table and Field for Open Order Quantity for a Customer and Material
Hi
I created two sales orders 3 and 5 quantities, and delivered 1 qty in the second order.
when I checked the table VBBE or VA05, I am able to see 3 and 4 qantities open.
but I want to see the total 7 as open order qty, i.e, 3+4=7
because both the orders are placed by the same customer and same material
can u please tell me in which table exactly the total open order quantity for a customer and total open order quantity for a material is stored
Madhu
Edited by: madhubabu rao on Jul 1, 2008 1:49 PMHI,
U can get the information in VA05 as there are columns like confirmed quantity and order quantty and status. U can use summation button (add upto values) to get required information.
Thx,
Pramod -
Interactive report for displaying customer information
hi,
how to create an interactive report for displaying customer information based on selection smade ,and corresponding bank details.pls check the sample code
Use the tables Kna1 and knbk to get the customer details.
***extract the data into internal table
select * from dbtab into itab.
*In the loop hide the field you want to trigger the interactive list.
loop at itab.
write: / itab-kunnr, itab-name1.
Hide itab-kunnr.
endloop.
use at line selecton to get desired output based on the condition
at line-selection.
select * fro dbab into itab where field = itab-kunnr.
awards points if help ful. -
Assign sales quantities for each customer.
Dear Gurus,
i have a limited production of a material and there are many buyers for it.
so i need to set a solution in order to assing to each customer a determinated quantity of this producto for each month.
ie:
Production of material A by month: 100 units.
Quantity asign Month
Customer A 25 July
Customer B 25 July
Customer C 40 July
Customer D 10 July
I would like to know if there are any standar solution to solve it.
Thanks ind advance.
Best regards.
Juan.HI
if the quantities are allocated for particular customer then you can control by using under deliverance tolerance in CMR
ex if you want to give 25pcs out of 100pcs for customer A then mention 4%
use VD51 for minimum delivery quantity in shipping section
check in MMR :sales:Sales org2 Tab minimum order and delivery quantities
maintain 0VLP check over delivery quantity
with this you can control
Regards,
Krishna. -
How to allow create different transaction type for different customer
We are using CRM 7.0 now. We have two types customer, one is sap customer, the other is potential customer. We want to distinguish the two types customer. And user can create all transaction (for example: quotation, opportunity, activity) the sap customer. And the user only can create activity for the potential customer, they can't create others transaction type for potential customer. How can we realize it? Thanks.
Hi,
We can make use of the BLOCKING REASONS to realize your requirement.
A Blocking Reason can be assigned to the Business Partner role dependent data and to the transaction type. A Business partner can be used in a transaction only if he is not assigned to this blocking reason.
For Ex, In your scenario you can create a Blocking reason 'Not a SAP Customer ' and assign it to all the Potential Customers. You should assign the blocking reason to all the transaction types which the potential customers should not be allowed.
Hope it helps. Please let me know if you need further help.
Regards,
Vamsi.
Edited by: Vamsi Krishna Potta on Sep 7, 2010 9:41 AM
Maybe you are looking for
-
Itunes stops working with vista
Has anyone had problems with itunes stopping working with windows vista? I have tried all the upgrades but itunes still stops working when playing songs and videos.
-
Help...unknown error
Attempting to copy to the disk "OWNER'S IPO" failed. An unknown error occurred (-69). This is the error I get when attempting to download. help me please. My son cannot download his music. gateway Windows XP
-
.MSP files accumulating. Needed?
Hi, On My Windows drive I was trying to determine why my disk space is rapidly dropping, when I haven't been installing any new applications. I found that in my Acrobat folder in the ProgramData folder are three folders 9.0, 9.2 and 9.4. In the 9.2 f
-
Creating a document in Pages on my iMac is no problem. To get it saved to iCloud, however, is not possible, because if I select iWork in iCloud I get a screen with 'Download Pages for IOS'. But I have already for a long time Pages installed on my IOS
-
my mac has been updated and when i go to install the newest itunes this pops up. 'Couldn't open "Install iTunes.pkg". This package type requires Mac OS X 10.5.' how can i fix this so i can get the new itunes?