FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Como Deshabilitar la Barra de Tarea
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM

Como Deshabilitar la Barra de Tarea

Posted: Mon Jan 08, 2007 03: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
Posts: 8523
Joined: Tue Dec 20, 2005 07:36 PM

Como Deshabilitar la Barra de Tarea

Posted: 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

Continue the discussion