Ventana semitrasparente

Ventana semitrasparente

Postby mastintin » Fri Jul 16, 2010 9:42 pm

Ventana semitrasparente siempre en primer plano y con esquinas redondeadas igual a la de las notificaciones del sistema ( enlaces ratones inalambricos y demas ) .
Image
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Ventana semitrasparente

Postby Antonio Linares » Fri Jul 16, 2010 10:09 pm

Manuel,

Muy bueno! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Ventana semitrasparente

Postby mastintin » Sat Jul 17, 2010 7:12 am

Por cierto , el codigo de fivemac que lo genera :

Function redondo()
local oDlg
local oimage
DEFINE WINDOW oDlg FROM 20, 100 TO 320, 260 ROUNDED
@ 40, 40 IMAGE oImage OF oDlg SIZE 220, 220 FILENAME respath()+"/"+"PrefApp.tiff"
ACTIVATE WINDOW oDlg
Return nil
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm

Re: Ventana semitrasparente

Postby karinha » Thu Apr 18, 2024 4:08 pm

En que version esto funciona? Solo en FiveMac?

Gracias.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7834
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Ventana semitrasparente

Postby Antonio Linares » Thu Apr 18, 2024 8:01 pm

Estimado Joao,

Code: Select all  Expand view  RUN
#include "FiveWin.ch"

function Main()

   local oWnd

   DEFINE WINDOW oWnd

   oWnd:nOpacity = 70

   ACTIVATE WINDOW oWnd CENTERED

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 1 guest