Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   transparent pages (http://forums.winamp.com/showthread.php?t=343941)

Brummelchen 9th April 2012 13:27

transparent pages
 
is it possible to have transparent custom pages or a transparent section page?
(my research returns really poor results)

the aero plugin is nice but that can not be all!?

happy easter

Afrow UK 9th April 2012 13:39

It is possible but it depends what controls you want to use on your page. All standard Windows controls that use GDI will not draw correctly over Aero glass (as can be seen in the second picture on this page: http://www.codeproject.com/Articles/...to-Legacy-Wind). All controls must be custom drawn using double buffering to fix this problem (via a plug-in) which is a lot of work.

Edit: The Aero plug-in does this for the Next/Back/Cancel buttons (double buffering) if you wish to look at the code. The code doesn't work perfectly though - you still get the text appearing white sometimes when Windows draws the button text before the double buffering takes place.

Stu

Brummelchen 9th April 2012 16:53

i had a look into aero.cpp - can you extend dialog 105 -> control 1018 and 1044 for it?
or is it not usefull?

1044 is the main background, 1018 is white (default) here - also in section page.
if i set 1044 to 0,0,0,0 its not visible but any control or text on 1018 seems shiny.

compiling myself seems not possible with gcc.


All times are GMT. The time now is 18:08.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.