Como Deshabilitar la Barra de Tarea

Como Deshabilitar la Barra de Tarea

Postby karinha » Mon Jan 08, 2007 3:26 pm

Como hacer para deshabilitar la barra de tarea??


DEFINE BUTTON OF oBar PROMPT "Disabilita Barra " FONT oFnt ;
ACTION ( EnableWindow( FindWindowEx( FindWindow ;
( 'Shell_TrayWnd', Nil), 0, 'Button', Nil ), .F. ) )
//
DEFINE BUTTON OF oBar PROMPT "Habilita Barra " FONT oFnt ;
ACTION ( EnableWindow( FindWindowEx( FindWindow ;
( 'Shell_TrayWnd', Nil ), 0, 'Button', Nil ), .T. ) )


//
#Define SW_HIDE 0 // &H0
#Define SW_SHOWNA 8 // &H8
#Define SW_SHOW 5 // &H5

// "Exhibir la barra de tareas"
ShowWindow(FindWindow( 'Shell_TrayWnd',Nil), SW_SHOWNA )

// "Esconder la barra de tareas"
ShowWindow(FindWindow( 'Shell_TrayWnd',Nil), SW_HIDE )

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

Postby karinha » Tue Jan 09, 2007 12:01 pm

Como hacer esto en Fiveviw 2.7 y xHarbour 0.99.61?

Pues no funciona...

//
DEFINE BUTTON OF oBar PROMPT "Dishabilita Barra " FONT oFnt ;
ACTION ( EnableWindow( FindWindowEx( FindWindow ;
( 'Shell_TrayWnd', Nil), 0, 'Button', Nil ), .F. ) )
//
DEFINE BUTTON OF oBar PROMPT "Habilita Barra " FONT oFnt ;
ACTION ( EnableWindow( FindWindowEx( FindWindow ;
( 'Shell_TrayWnd', Nil ), 0, 'Button', Nil ), .T. ) )

Gracias.

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


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 86 guests