About Store Forum Documentation Contact



Post Reply 
[Solved]App Opacity
Author Message
kevindekever Offline
Member

Post: #1
[Solved]App Opacity
You can control App Opacity with:

WindowAlpha(123, App.hwnd());

But this will effect all elements in this window.
i just want to set the Alpha of mainappwindow and not the elements inside.
(like Gui)
D.clear(TRANSPARENT)
will not help, is there a way to do this by EE?
(This post was last modified: 10-12-2015 07:03 PM by kevindekever.)
10-11-2015 09:25 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #2
RE: App Opacity
You can completely disable title bar using APP_NO_TITLE_BAR, I'm not sure if there's another way, you'd have to google about WinAPI
10-12-2015 06:48 AM
Find all posts by this user Quote this message in a reply
kevindekever Offline
Member

Post: #3
RE: App Opacity
yeah i found

http://www.codeproject.com/Articles/3415...-with-Stan

But don't know how to use -.- ^^
Code:
SetWindowLong( (HWND) App.hwnd(), GWL_EXSTYLE, ::GetWindowLong((HWND) App.hwnd(), GWL_EXSTYLE) | WS_EX_LAYERED | WS_EX_TRANSPARENT | WS_EX_NOACTIVATE);
SetLayeredWindowAttributes( (HWND)App.hwnd(), 0, 200, LWA_ALPHA);
10-12-2015 10:30 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #4
RE: [Solved]App Opacity
The code is almost the same as WindowAlpha.
10-13-2015 07:34 AM
Find all posts by this user Quote this message in a reply
kevindekever Offline
Member

Post: #5
RE: [Solved]App Opacity
yeah but now i can click through , it is just for the overlay
i change the windowsize for elements.elms()

App1 ------Sending information to show-------> App2 (Overlay)

App1 (Mobile/Desktop) Listing and Datamanagement
App2 (Desktop only) Listing2

It is just a project to learn



Just another quick question,WindowsIO
i changed the names of the buttons because of MLTC,
but what is the best way to change the text for promts, like when pressing create for directory without the name inserted, or favorites?

App1
   
   

App2:
   
   
(This post was last modified: 10-13-2015 09:02 AM by kevindekever.)
10-13-2015 08:44 AM
Find all posts by this user Quote this message in a reply
Post Reply