Delphi iOS 7 firemonkey xe5 VideoZoomFactor unimplemented Hi, I want to use the new IOS 7 AVCaptureDevice feature VideoZoomFactor in Delphi XE5 but the feature hasn't been implemented. Is there a good way to use features that haven't yet been added to base objects in delphi? Are those header files, like IOSapi.AVFoundation.pas machine generated?
22 Dec 2001CPOL
A wrapper class to use the visual style APIs available in Windows XP
Introduction
This is a wrapper class to use the visual style APIs available in Windows XP. Visual style makes it possible to change the look and feel of all the 'supported' applications. It is very easy to add support for visual styles in an application. Check on MSDN for more information.
However, if you plan to use any OWNERDRAW controls, you won't get the new look automatically. Windows is just not smart enough to know how your control should look. You have to make calls directly to the new UxTheme APIs.
It is quite simple to use the API, and in most cases you just need a few of them. The sample below draws a checked button in TOOLBAR style.
Problems arise when you running the application under an earlier version of Windows, since calling these APIs directly makes your application dependent on the new DLLs which are not redistributable. The class provided in this article tries to solve this problem by wrapping the APIs and doing run-time linking. It is just a lot of copy-n-paste work, no fun at all. :)
Microsoft has actually done a thin wrapper in MFC 7.0 (winctrl3.cpp), but it only wraps a few of the APIs and they are mostly for MFC's internal usage. This class is based on the MFC implemenation and wraps the full set of visual style APIs from the Micrsoft Platform SDK August 2001. In order to compile this class in VC++ 6.0, you will need to have the latest Platform SDK, or at least one with the new XP headers. Under VC++ 7.0, no additional headers are required.
How to use
It is very simple to use this class. You need first to include the header, preferably in stdafx.h and add the CPP file to the project.
You can then either create a local
CVisualStylesXP
member and call the functions, or use the built-in global variable g_xpStyle
.To make your application work under all windows versions, you should do something like this:
Copyright
The demonstration application is a port from the ThemeExplorer application from MSDN.
That's all. Happy coding!
That's all. Happy coding!
Version 1.0Support Delphi 2010 - Delphi Berlin (DX10.1)Now: C++Builder support!
Delphinus-Support
Delphinus-Support
License:Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License.You can purchase a license for commercial use.
[ENG]
TEsGroupBar - This sidebar is similar to the panel conductor Windows XP, and allows the set any skin (nine-path png images), in addition there is a support of a few modes.
The component is OpenSource, free for noncommercial use, must specify in the About or elsewhere about using this component, preferably with reference to the repository.
You can purchase a license for commercial use, $30, writing to [email protected].
After purchasing a license, you also get a year of free updates and technical support.
Сan add need features or custom styles for you.
Look at other projects on this GitHub perhaps you might be interested ...
You can order develop vcl/fmx components, please submit requests to mail.
[RUS]
TEsGroupBar - Это боковая панель, подобная панели проводника в XP, позволяющая установку любого скина.Компонент имеет множество настроек, и может быть настроен на любой вкус.
Компонент бесплатен для некоммерческого использования, необходимо лишь указать в About или в другом местеоб использовании данного компонента, желательно с ссылкой на данный репозиторий.
Вы можете приобрести лицензию для коммерческого использования, стоимостью $30 (для россиян 1500р).
Нажмите на ссылку для покупки или напишите на [email protected].
Приобретая лицензию, вы также получаете год бесплатных обновлений и техническую поддержку.
Возможно добавление необходимого вам функционала и изготовление стилей на заказ.
Посмотрите на другие проекты на этом GitHub, возможно, вы будите заинтересованы ...