How to embed Adobe Photoshop in my App - delphi

We are developing a software that will automate many crucial activities in Photoshop.
This application is targeted for newbies.
In this application I want to embed Photoshop's window in my applications window. Currently Photoshop runs separately in its own window.
How can I get it to run in a particular location in given space in my application window?

How about this: find Photoshop's window handle using FindWindow, and after that use SetParent to embed it into your form/panel. You might also need to maximize and remove borders from Photoshop's window, see Windows API for more details on how to do this.

I don't know of any API to let you embed Photoshop into another application, and I don't think that API exists. However, why can't you accomplish what you want using ActionScript or a native plug-in inside Photoshop? This is accomplishing almost the same thing, just from a different direction.

Related

Force crop/start with crop tool open

With the Aviary SDK, it was possible to start the view controller with a tool open by default, and force the user to crop the photo before proceeding to close the editor.
I have scoured through the Adobe Creative SDK documentation to find the equivelent functions, but can find nothing.
Is it possible to do with the Adobe SDK?
(FYI: Adobe bought out the Aviary SDK)
The Creative SDK Image Editor UI component doesn't currently support Quick Launch, the feature you are referring to.
However, it is possible to set the list of tools available to the user using the setToolOrder: method.
For example, if you only want to allow cropping, you can do this:
// Set the tool list to show Crop only.
[AdobeImageEditorCustomization setToolOrder:#[kAFCrop]];
For further information, see the "Tool Order" section of the Image Editor UI guide on creativesdk.adobe.com.

How to implement/import graphic design in iOS apps

I've developed a iOS application for a customer and now it's time to make it nicer by implementing/importing the graphic design provided by the graphic designer.
Here is the problem:
the graphic designer gave me just some PNG pictures which show how the application should look like.
I was thus wondering:
What's the best way to implement the graphic design or import it into XCode?
Is there a way for the graphic designer to provide some material I can directly use to implement the graphic design?
Is there any tool (either free or professional) for helping iOS designers and developers to cooperate?
Thanks.
You can use a UIImageView and place it on the background of a uiview so you can layout native buttons and objects to best imitate the graphics they sent you using native controls or you can use other helpers online such as these.
Honestly, IMO it's generally better to use their graphics as a template then recreate what they are wanting to achieve using native controls to adhere to the HIG Apple provides. Giving the user a nice at home feeling while also giving the client the look they are wanting to achieve is the general idea to a successful app. Each OS has it's own "look and feel" that the users come to expect.
http://designthencode.com
http://www.jumpstartyourcode.com

blackberry camera Application

I am implementing camera application using then example comes with blackberry plugin for eclipse named "CameraDemo" the problem is that when the screen loses focus It does not display the camera view istead of it shows like this
has anybody faced such problem whats the solution?
This way of taking picture (using the Player and VideoControl.getSnapshot()) does not work nice on all BB models. I'd even say it works nice only on a narrow set of BB models. So if you are going to use your app on a wide range of BB models, then this is not the right way to go.
Instead to take a picture use a built-in Camera app. Here is a starting point on how to do that.
Basically you invoke the built-in Camera app and listen for the file-system changes to detect a new image file path. Then you need to close the built-in Camera app somehow - it's possible to do that by simulating two 'Esc' button presses.
Yes, this sounds a bit hacky/over-complicated, but that's how BB engeneers arranged that for us. :) BTW, this is actually not so bad if compare with Android where different device manufactorers violate the common rules and implement the Camera app in their specific way so you are not able to write the code once covering all Androids.

Embeded PowerPoint slideshow in SharePoint

I have a SharePoint collaboration portal that is used a default intranet gateway. The requirement is to embed a PowerPoint presentation with this portal so that it cycles through all the slides in SP webpart, rather than using PowerPoint application. I have created a slide library and uploaded the presentation with an understanding that I can use an image webpart but that did not work (for obvious reasons).
Is there a way to accomplish this and how do I go about it. I can write a custom web part if I have to.
Thanks,
Eric
You already did what I would have suggested : exporting your presentation to a image gallery where each slide is an image. Now, you just need to create a rotating image webpart, either with some simple controls built-in (previous, next) or automatic (rotating, but I would go for a manual process).
Waldek created a nice walkthrough to simply create a rotating slide show : http://blog.mastykarz.nl/images-slideshow-sharepoint-2007-jquery/ using a list view webpart (as source) and a content query webpart with some javascript to transform the rendering of the list view.
You just need to pick a relevant "image slideshow" script from the thousands available in javascript and make sure that it's transforming your barebone list of images to something fancier.
Hope that helped.
Kindly.

How do I Resize entire screen?

I want to be able to re size everything that is displayed - taskbar, windows, desktop - everything and put it in a border. What is the best way to accomplish this? I'm thinking DirectX, but I am not that familiar with it. I'm not sure what technologies would accomplish this, but I bet it would have to be rather low level.
DirectX has its own API's, but if you want to change the taskbar and desktop, I rather think you have to go for the Windows API.
The direct API call to use is ChangeDisplaySettings() or ChangeDisplaySettingsEx(), but you need to get a filled-in DEVMODE structure to use it properly. DEVMODE is a beast. You're going to need to fill it using EnumDisplaySettings(), identify which display is your main screen, and fiddle with the dmBitsPerPel, dmPelWidth, and dmEplHeight members. Not every possible setting is supported: I think DeviceCapabilities() can tell you that... this should get you started.
You haven't told us explicitly that it's Windows you're after, nor in what language you're working.

Resources