How display a shadow on a dialog ?

How display a shadow on a dialog ?

Postby toninhofwi » Sat Mar 20, 2010 10:30 pm

Hi.

How display dialogs with shadows?

Here is a nice sample of shadow control, maybe is easy implement it in FW:

http://www.fwi.com.br/toninho/shadow.zip


Regards,

Toninho.
toninhofwi
 
Posts: 170
Joined: Tue Oct 18, 2005 10:01 am

Re: How display a shadow on a dialog ?

Postby Patricio Avalos Aguirre » Thu Jun 10, 2010 8:01 pm

Hola

Alguien ha implementado estas funcion de shadow
Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl
User avatar
Patricio Avalos Aguirre
 
Posts: 1059
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile

Re: How display a shadow on a dialog ?

Postby lailton.webmaster » Thu Jun 10, 2010 10:17 pm

Fivewin 10.5 has new method ( think that in class TWindow ) method shadow()
by Antonio Linhares.

See
skin.prg folder sample of fivewin.

:D
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: How display a shadow on a dialog ?

Postby fraxzi » Fri Jun 11, 2010 12:37 am

Hello Lailton,

is it possible to skin TMDIChild Window? I tried with v10.5 but not showing..

Can I store skin resources to .RC or perhaps in .dll so there will be no 'blue_skin' folder? Or any way to store 'blue_skin' bitmaps to apps.exe?


Best Regards,
Frances
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: How display a shadow on a dialog ?

Postby lailton.webmaster » Fri Jun 11, 2010 1:34 am

fraxzi,

I use it only to dialog, i think that you can change class to use in TMDIChild and TWindow too.

About folder skin, you can add to pelles. but need change class too to read in resource and no inside of folder.
its easy. :D
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: How display a shadow on a dialog ?

Postby fraxzi » Fri Jun 11, 2010 5:10 am

lailton.webmaster wrote:fraxzi,

I use it only to dialog, i think that you can change class to use in TMDIChild and TWindow too.

About folder skin, you can add to pelles. but need change class too to read in resource and no inside of folder.
its easy. :D



Dear Lailton,

Is the code published with 10.5? Maybe in 10.6

It is useful.


Regards,
Frances
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: How display a shadow on a dialog ?

Postby lailton.webmaster » Fri Jun 11, 2010 5:29 am

Fraxzi,

Class Tskin
please see this way:
fwh\source\classes\skin.prg
( fivewin 10.5 )

Regards
Lailton
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 30 guests