Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Alpha channel transparent

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2009, 10:47 AM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Cool Alpha channel transparent

on Desktop.
for example we have transparent formex (TransparencyKey) and now we draw png image with alpha transparent. but our alpha thrasparent now has color as TransparencyKey.
how can be done alpha transparent? (NOT OPACITY!!!!)

i'm see it in miranda and it is very nice))
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Reply With Quote
  #2 (permalink)  
Old 04-12-2009, 01:06 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Byak@ View Post
how can be done alpha transparent? (NOT OPACITY!!!!)
What's the difference?

This is not easily possible, even with the Door library. For a Form to support alpha transparency ir needs to have its ControlStyle SupportsTransparentBackColor set True, the default is False.

From MSDN : SupportsTransparentBackColor : If true, the control accepts a BackColor with an alpha component of less than 255 to simulate transparency.

Unfotunately the Forms' method, SetStyle, that does this is not a Public method and can only be called by another method belonging to the Form. It is not accessible to the Door library
Reply With Quote
  #3 (permalink)  
Old 04-12-2009, 01:37 PM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Unhappy

Quote:
Originally Posted by agraham View Post
What's the difference?
in screenshot text is not transparented...

As I understand it can not be done with Basic4ppc?
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Reply With Quote
  #4 (permalink)  
Old 04-14-2009, 05:50 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Byak@ View Post
in screenshot text is not transparented...
I see what you mean.
Quote:
As I understand it can not be done with Basic4ppc?
IF I added this to the FormEx library is there anything else you think might be useful?
Reply With Quote
  #5 (permalink)  
Old 04-16-2009, 01:31 PM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Default

of course! this is a big plus for basic4ppc and this will further bring it to other programming languages

i'm look forward to this :-[
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Reply With Quote
  #6 (permalink)  
Old 04-16-2009, 01:50 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by Byak@ View Post
i'm look forward to this :-[
Disappointment then I'm afraid. I tried this yesterday and SupportsTransparentBackColor doesn't work on a Form in the way expected . Googling around other people have tried this and found the same. It seems the only way to do it is to take over drawing the Form yourself at a low-level.
Reply With Quote
  #7 (permalink)  
Old 04-16-2009, 08:10 PM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Default

i'm don't understand =((
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Reply With Quote
  #8 (permalink)  
Old 04-17-2009, 10:14 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

I won't be doing it!
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.

Last edited by agraham : 04-17-2009 at 10:57 AM.
Reply With Quote
  #9 (permalink)  
Old 04-18-2009, 04:11 PM
Byak@'s Avatar
Basic4ppc Veteran
 
Join Date: Jul 2008
Posts: 416
Send a message via ICQ to Byak@
Awards Showcase
Beta Tester 
Total Awards: 1
Default

:-(
Erel what you say about it?it is very important for me =(((
__________________
I'll Kill you, I'll Crash you, I'll never be yours!
--------------------------------------------------
Qtek s110; o2 XDA Flame; Nokia E63 red;
ASUS Eee PC 901 (Windows XP sp3) + TouchScreen;
Reply With Quote
  #10 (permalink)  
Old 04-19-2009, 02:56 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Maybe in the future, but as it is a desktop-only feature it will not have high priority.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
transparent and toolbarbutton Byak@ Questions (Windows Mobile) 6 07-22-2008 02:45 PM
Transparent .gif? Zenerdiode Questions (Windows Mobile) 2 06-29-2008 02:58 PM
Video or Picture with Alpha over live camera? realvision Code Samples & Tips 0 04-01-2008 12:12 AM
No 8-bit alpha for transparent pngs? Mistrel Questions (Windows Mobile) 2 10-13-2007 06:39 AM
Something transparent (invisible) sloopa Questions (Windows Mobile) 1 05-20-2007 09:27 AM


All times are GMT. The time now is 04:16 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0