Forum Replies Created
-
AuthorPosts
-
BeheritParticipant
Finally, I checked it on XE4 with last AC beta version. Problem still exists on project with target 64-bit platform. Maybe probles is with the skin (when I use other, everything is okey)? Even in IDE skinn is missed…
[attachment=6339:2013-06-07_174027.png]
[attachment=6340:Skin.zip]
BeheritParticipantIt's not possible because XE4 not make any corrections for C++Builder, only for Delphi 🙂 In fact, I use sources for Delphi and just check to create untils for C++.
I will check the problem in XE4 but I don't have idea when – for XE4 still don't have Andy's Tools.
BeheritParticipantI can't run Your project – I have message that is missing CC64120MT.DLL. What's more, You don't turn off option who is important to run app without RAD Studio – “Link with Dynamic RTL”. Please take a look this project:
BeheritParticipantDemo is without skin :/ No comments… If I wan't build app without skin I will use TListView, not TsListView…
BeheritParticipant'Support' wrote:You can look ASkinDemo.exe, no error there.
As I say, problem exists only in 64-bit – ASkinDemo.exe is for 32-bit :/
BeheritParticipantSorry but now I don't have free time. You can't repeat this bug? Try to check this in C++Builder. Problem still exists in 8.31.
BeheritParticipantI'll make it when I'll have some free time.
BeheritParticipantDemo? 🙂 Just use WinAPI in application to add transparency to other application with AlphaControls by this code:
Code:SetWindowLong(hwnd, GWL_EXSTYLE, GetWindowLong(hwnd, GWL_EXSTYLE)|WS_EX_LAYERED);
SetLayeredWindowAttributes(hwnd, 0, 205, LWA_ALPHA);This code should add transparency to frames without looking for TsSkinProvider in application's forms. Even I used TsSkinProvider (I created DLL file to AQQ IM where in SDK of this application this code is executed with adding transparency to frames by using TsSkinProvider), transparency disappear when form is restored afher minimized and on many other events.
BeheritParticipantI still waiting for some solution…
BeheritParticipantOk, I gave wrong handle. But now frame are disappeared from main form and frames on children form does not repaint.
Even when I try to use TaSk Provider from children form I have a lot of bug (no skinned frame, it looks like Windows 2k frame).
BeheritParticipantThis code is not working. I writing in C++ and my code looks:
Code:TsSkinProvider *sp;
sp = (TsSkinProvider*)SendAMessage(Application->MainForm->Handle, AC_GETPROVIDER);
if((sp)&&(sp->BorderForm)) sp->BorderForm->UpdateExBordersPos(true,205); //this line is executed properly, “if” was “true”
delete sp;BeheritParticipantAnother problem – transparency disappears when I minimize and restore form. It's not a normal behavior of the forms.
BeheritParticipantThis solution is not for me because as I say finally I want to set transparency from another thread/application so I can't change sSkinProvider1.BorderForm.UpdateExBordersPos.
BeheritParticipantI can't generate missing file (acntBuilderXE3_r.a) in C++Builder and this compilator can't build files for x64 automatically. It's only one way – install Delphi XE3 and build build 64 bit packages for C++…
BeheritParticipant'Support' wrote:If you have sources of the package, then you can compile an application with AlphaControls sources in the Win64 mode. Bpl is not required in this case.
How? I have only C++Builder – in the thread, that you have linked, I see that is posible only in Delphi.
Quote:You can configure Delphi to generate C++ output files, including .hpp files,when compiling a Package.
BeheritParticipantCan You provide us a 64-bit packages?
BeheritParticipantQuote:BCC64 does not produce packages (.bpl files) in this release. You can, however, do static linking to a 64-bit Windows package, and you can consume packages using C++Builder 64-bit Windows.Source: http://docwiki.embarcadero.com/RADStudio/XE3/en/C%2B%2BBuilder_64-bit_Windows_Differences
BeheritParticipant'Support' wrote:You have sources of the package?
Yes I have but trial version don't have x64 support too.
BeheritParticipantI still waiting for 64-bit… 🙁
BeheritParticipant'Support' wrote:Otherwise, you can set the “Generate static library” option in the “package options / C++ Linker” part.
Yep, that work! Thanks!
-
AuthorPosts