Vtaskbar class

Vtaskbar class

Postby Silvio » Mon May 08, 2006 5:24 pm

Someone use this class ?
i need a help to create a sample
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Taiwan » Tue May 09, 2006 10:45 am

Hello Silvio,

I have this CLASS sample code.

If you want sample files, I can send to you.

Regards,

Richard
User avatar
Taiwan
 
Posts: 218
Joined: Fri Oct 07, 2005 1:55 am
Location: Taipei, Taiwan

Postby jose_murugosa » Tue May 09, 2006 12:17 pm

Please Taiwan

Send this sample to me too.

jmurugosa@yahoo.com
Saludos/Regards,
José Murugosa
"Los errores en programación, siempre están entre la silla y el teclado y la IA!!"
User avatar
jose_murugosa
 
Posts: 1181
Joined: Mon Feb 06, 2006 4:28 pm
Location: Uruguay

Postby Paco Garcia » Tue May 09, 2006 8:00 pm

que quieres saber, Silvio?
User avatar
Paco Garcia
 
Posts: 172
Joined: Fri Oct 07, 2005 12:00 pm

Postby Silvio » Tue May 09, 2006 10:05 pm

Paco I sent you a message in private email
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Silvio » Thu May 11, 2006 7:12 am

Paco I wanted create an windows MDI with Tfsdi and Vtaskbar alanit's program
Have one sample to build it ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Paco Garcia » Fri May 12, 2006 6:47 pm

this is the solution Silvio:

Code: Select all  Expand view  RUN

#include "fivewin.ch"
#include "..\include\vmenu.ch"
#include "splitter.ch"

static oFont

function main()

local oWnd
local oMenu

MENU oMenu
   MENUITEM "Nueva hija" ACTION NuevaHija( oWnd )
ENDMENU

DEFINE WINDOW oWnd TITLE "Prueba de vTaskBar en MDI" MDI MENU oMenu

ACTIVATE WINDOW oWnd MAXIMIZED

return nil


function NuevaHija( oMadre )

local oWnd

local oVMenu, oVMenu2, oItem, oVMenu3, oVMenu4
local oSplit



DEFINE FONT oFont NAME "Ms Sans Serif"  SIZE 0, -10 BOLD

DEFINE WINDOW oWnd OF oMadre MDICHILD COLOR 0, CLR_GRAY



   @ 10, 10 VMENU oVMenu SIZE 215, 151 OF oWnd ;
            COLOR RGB(86,102,45), RGB(246,246,236) ;
            BORDER COLORBORDE CLR_WHITE ; //RGB( 252, 252, 236) ;
            COLORSELECT 0 ;
            UNDERLINE  ;
            HEIGHT ITEM 25

   DEFINE TITLE OF oVMenu ;
          CAPTION "Tareas de Red" ;
          HEIGHT 25 ;
          COLOR RGB(86,102,45), RGB(252, 252, 236 ), RGB( 224, 231, 184 ) ;
          CENTER RADIOSQUARE 4;
          IMGBTN "bmps\upgreen.bmp","bmps\downgreen.bmp" ;
          OPENCLOSE ;
          FONT oFont ROUNDSQUARE

       DEFINE VMENUITEM OF oVMenu           ;
     CAPTION "Agregar un sitio de red" ;
          IMAGE "bmps\red.bmp" ACTION MsgInfo( "Primero" )

       DEFINE VMENUITEM OF oVMenu           ;
     CAPTION "Ver conexiones de red" ;
          IMAGE "bmps\verred.bmp" ACTION MsgInfo( "Segundo" )

       DEFINE VMENUITEM OF oVMenu           ;
     CAPTION "Configurar una red domestica o para oficina pequeña" ;
     MULTILINE ;
          IMAGE "bmps\casared.bmp" ACTION MsgInfo( "Tercero" )

       DEFINE VMENUITEM OF oVMenu           ;
     CAPTION "Ver equipos del grupo de trabajo" ;
          IMAGE "bmps\grupored.bmp" ACTION MsgInfo( "Cuarto" )


  oVMenu2 := Menu( oWnd, oVMenu,  171 )
  oVMenu3 := Menu( oWnd, oVMenu2, 171 + 160 )
  oVMenu4 := Menu( oWnd, oVMenu3, 171 + 160 + 160 )


  @ 0, 260 SPLITTER oSplit ;
      VERTICAL _3DLOOK ;
      PREVIOUS CONTROLS  oVMenu, oVMenu2;
      SIZE 4, 1300 PIXEL ;
      OF oWnd   UPDATE


ACTIVATE WINDOW oWnd MAXIMIZED ON INIT oVMenu2:Switch()


return nil


function menu( oWnd, oVMenu, nTOp )

local oVMenu2

   @ nTop, 10 VMENU oVMenu2 SIZE 215, 151 OF oWnd ;
             COLOR RGB(86,102,45), RGB(246,246,236) ;
             BORDER COLORBORDE RGB( 252, 252, 236) ;
             UNDERLINE  ;
             COLORSELECT 0 ;
             HEIGHT ITEM 25 ATTACH TO oVMenu

   DEFINE TITLE OF oVMenu2 ;
          CAPTION "Otros sitios" ;
          HEIGHT 25 ;
          COLOR RGB(86,102,45), RGB(252, 252, 236 ), RGB( 224, 231, 184 ) ;
          CENTER RADIOSQUARE 4;
          IMGBTN "bmps\upgreen.bmp","bmps\downgreen.bmp" ;
          OPENCLOSE ;
          FONT oFont ROUNDSQUARE

       DEFINE VMENUITEM OF oVMenu2           ;
     CAPTION "Escritorio" ;
          IMAGE "bmps\escritorio.bmp"

       DEFINE VMENUITEM OF oVMenu           ;
     CAPTION "Mi PC" ;
          IMAGE "bmps\mipc.bmp"

       DEFINE VMENUITEM OF oVMenu2           ;
     CAPTION "Mis Documentos" ;
          IMAGE "bmps\misdoc.bmp"

       DEFINE VMENUITEM OF oVMenu2           ;
     CAPTION "Documentos compartidos" ;
          IMAGE "bmps\shared.bmp"

       DEFINE VMENUITEM OF oVMenu2           ;
     CAPTION "Impresoras y faxes" ;
          IMAGE "bmps\imprefax.bmp"

return oVMenu2

User avatar
Paco Garcia
 
Posts: 172
Joined: Fri Oct 07, 2005 12:00 pm


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 33 guests