Search found 24 matches: iswindowenabled

Return to advanced search

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6348

Re: Changing with and height of a window and a dialog

... You have to know whether the on screen keyboard is visible in order to make a correct window size. The only way I have found to check it is to use IsWindowEnabled(). Any other way does not work with Windows 10 because it is always running and the position is still withing the window. With Windows ...
by Gale FORd
Mon Nov 09, 2015 10:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Changing with and height of a window and a dialog
Replies: 35
Views: 8879

Re: problema con SetFont

... == VK_DOWN ; .or. nLastKey == VK_RETURN .or. nLastKey == VK_TAB ::oWnd:nLastKey = nLastKey else ::oWnd:nLastKey = 0 endif endif return If( IsWindowEnabled( ::hWnd ), DLGC_WANTALLKEYS, 0 ) METHOD MouseMove( nRow, nCol, nKeyFlags ) CLASS TMiCalendario CursorHand() // Se evalua si es la linea ...
by MOISES
Mon Feb 23, 2015 1:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con SetFont
Replies: 17
Views: 4733

Re: para Antonio : Sobre BTNBMP... oBtn:bPainted (RESUELTO)

No encuentro esta parte del código que se supone se encuentra en el método Paint()

...

if ! IsWindowEnabled( ::hWnd ) .and. Empty( ::hBitmap3 )
BtnDisable( ::hWnd, ::hDC )
endif

...


Donde pongo el código nuevo ? Alguien sabe ?. Muchísimas gracias

Saludos
by horacio
Fri Jan 16, 2015 10:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: para Antonio : Sobre BTNBMP... oBtn:bPainted (RESUELTO)
Replies: 9
Views: 1177

Re: Enable/Disable

Roberto,

Tambien puedes usar:

IsWindowEnabled( oWnd:hWnd ) --> lYesNo

en donde puedes usar una ventana, diálogo ó control
by Antonio Linares
Sat Oct 12, 2013 8:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enable/Disable
Replies: 3
Views: 434

Re: Buttonbar question

Michel,

MsgInfo( IsWindowEnabled( oBar:hWnd ) )

Is that what you mean ?
by Antonio Linares
Fri May 03, 2013 2:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Buttonbar question
Replies: 2
Views: 422

Re: Small bug in class TBTNBMP

André,

Very good, thanks :-)

Just a minor change to your code:

if Upper( SubStr( cPrompt, nAt + 1, 1 ) ) == Upper( Chr( nKey ) ) .and. IsWindowEnabled( aControls[ n ]:hWnd )
by Antonio Linares
Sat Jan 14, 2012 8:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Small bug in class TBTNBMP
Replies: 1
Views: 639

Re: Error in last version FWH 11.10 (Folder + get)

Mauri, With this change in Method GoNextCtrl() your example works fine. Please notice that we use IsWindowEnabled() to check for disabled controls: METHOD GoNextCtrl( hCtrl ) CLASS TWindow   local hCtlNext, nAt      if ! Empty( ::aControls ...
by Antonio Linares
Wed Nov 16, 2011 11:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error in last version FWH 11.10 (Folder + get)
Replies: 25
Views: 19981

Re: Disable controls in folders

Don, a Sample-Test-button to Disable / Enable a Combobox MsgAlert( IsWindowEnabled( oCombo:hWnd ) @ 50, 120 BTNBMP oBtn1 OF oFld1:aDialogs[2] ;SIZE 65, 35 PIXEL 2007 ;NOBORDER ;PROMPT "Fld-control" + CRLF + "&Disable" + CRLF ...
by ukoenig
Sun Oct 09, 2011 1:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable controls in folders
Replies: 6
Views: 1149

Re: is control enabled?

Don,

You can also use:

IsWindowEnabled( oControl:hWnd )
by Antonio Linares
Fri Jul 29, 2011 2:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: is control enabled?
Replies: 2
Views: 445

Re: FWH/xHarbour Menus

... local hCtrl := GetWindow( ::hWnd, GW_CHILD ) local nAt, cText while hCtrl != 0 if hCtrl != hCtrlAt .and. GetParent( hCtrl ) == ::hWnd .and. ; IsWindowEnabled( hCtrl ) .and. ; ( nAt := At( "&", cText := GetWindowText( hCtrl ) ) ) != 0 .and. ; Lower( SubStr( cText, nAt + 1, 1 ) ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7760

Re: Disable en btnbmp

... en el metodo PAINT busca el codigo que te describo a continuación y que aparece dos veces, y desactiva la llamada a la funcion BtnDisable(): if ! IsWindowEnabled( ::hWnd ) .and. Empty( ::hBitmap3 ) // BtnDisable( ::hWnd, ::hDC ) //Desactivar esto endif Saludos.
by FranciscoA
Thu Jan 08, 2009 1:40 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Disable en btnbmp
Replies: 5
Views: 752

... ::oWnd:nLastKey := 0 EndIf EndIf if nLastKey==VK_ESCAPE .and. oWndChild#NIL // Para ESC funcionar TOUCH SCREEN :( oWndChild:end() endif Return If( IsWindowEnabled( ::hWnd ) .and. nLastKey != VK_ESCAPE, ; DLGC_WANTALLKEYS, 0 ) Pode comentar esta alteração Sr. Manuel. Gracias e Parabéns pelo belo ...
by MGA
Tue Apr 08, 2008 12:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SR.MANUEL MERCADO-BKEYDOWN TSBROWSE
Replies: 14
Views: 5058

button(btnbmp) of buttonbar disable caption color fixed

METHOD Paint() CLASS TBtnBmp ... if ! Empty( ::cCaption ) nClr = If( IsWindowEnabled( ::hWnd ), ::nClrText, CLR_HGRAY ) SetTextColor( ::hDC, nClr ) // add the line ,show disable button ccaption/text color nTop = 2 * ( ::nHeight / 3 ) + If( ::lPressed, 1, 0 ...
by ShumingWang
Mon Dec 03, 2007 7:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: button(btnbmp) of buttonbar disable caption color fixed
Replies: 1
Views: 510

... e do nada borrar a window do fundo, fiz isso e aparentemente resolveu: METHOD Paint() CLASS TSSay local n local nColorShadow, nColorLight if !IsWindowEnabled( ::hWnd ) && By Rossine return nil endif ::GetDC() if ::lActive for n := 1 to len( ::aCaption ) WSay( ::hWnd, ::hDC, ::nSTop ...
by AOKISANTOS
Tue Sep 25, 2007 8:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Correção para SSAY.PRG
Replies: 6
Views: 1897
Next

Return to advanced search