Search found 17 matches: updateuistate

Searched query: updateuistate

by Antonio Linares
Fri Jan 17, 2025 11:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4826

Re: Using new Class TDeepSeek for documenting

... hDlg`: Handle to the dialog.

4. **`HandleEvent( nMsg, nWParam, nLParam )`**
- **Description:** Handles window messages, particularly `WM_UPDATEUISTATE` to refresh the button when necessary.
- **Parameters:**
- `nMsg`: Message ID.
- `nWParam`, `nLParam`: Message parameters.

5. **`KeyDown ...
by TimStone
Tue Nov 09, 2010 7:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Checkbox still strange
Replies: 34
Views: 7060

Re: Checkbox still strange

... TCHECKBOX" ) )
::oWnd:Refresh( .f. )
endif
return ::LButtonDown( nHiWord( nLParam ), nLoWord( nLParam ), nWParam )


The changes to WM_UPDATEUISTATE and the addition of WM_LBUTTONUP are fine. Howevever, with LBUTTONDOWN I'm having to double click the checkboxes. Also setting the default to ...
by Armando Picon
Sun Aug 01, 2010 4:45 pm
Forum: FiveWin para Harbour/xHarbour
Topic: TRANSPARENCIA SAY Y CHECKBOX fallan al presionar tecla alt
Replies: 16
Views: 4089

Re: TRANSPARENCIA SAY Y CHECKBOX fallan al presionar tecla alt

METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TControl

/* Cambios propuestos por A. Linares y Patricio Avalos Aguirre*/
case nMsg == WM_UPDATEUISTATE // buttons, radios and checkboxes were erased when pressing ALT
nResult = Super:HandleEvent( nMsg, nWParam, nLParam )
if Valtype ...
by acwoo1
Sun Aug 01, 2010 5:07 am
Forum: FiveWin para Harbour/xHarbour
Topic: TRANSPARENCIA SAY Y CHECKBOX fallan al presionar tecla alt
Replies: 16
Views: 4089

Re: TRANSPARENCIA SAY Y CHECKBOX fallan al presionar tecla alt

... or. ::IsKindOf( "TCHECKBOX" )
::oWnd:Refresh()
endif
return ::LButtonUp( nHiWord( nLParam ), nLoWord( nLParam ), nWParam )

case nMsg == WM_UPDATEUISTATE // buttons, radios and checkboxes were erased when pressing ALT
nResult = Super:HandleEvent( nMsg, nWParam, nLParam )
if Valtype ...
by MarcoBoschi
Sun Dec 13, 2009 2:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog refresh
Replies: 13
Views: 2315

Re: Dialog refresh

Antonio, Enrico,

by first testing the problem seems to be solved

case nMsg == WM_UPDATEUISTATE // buttons, radios and checkboxes were erased when pressing ALT
nResult = Super:HandleEvent( nMsg, nWParam, nLParam )
if Upper( ::ClassName() ) == "TBTNBMP"
::Refresh()
endif
// ::oWnd:Refresh ...
by Enrico Maria Giordano
Sun Dec 13, 2009 1:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Dialog refresh
Replies: 13
Views: 2315

Re: Dialog refresh

I just tried to remove WM_UPDATEUISTATE handling and found that the sample I already provided at that time works just fine now:

#include "Fivewin.ch"FUNCTION MAIN() LOCAL oWnd DEFINE WINDOW oWnd DEFINE BUTTONBAR OF oWnd 2007 DEFINE BUTTON; OF oWnd:oBar; FILE "C:\FWH\BITMAPS\OPEN.BMP"; ACTION ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 9141

Re: FWH/xHarbour Menus

... wParam, LPARAM lParam )
{
if( uMsg == WM_ERASEBKGND )
{
return 1;
}

else if( uMsg == 0x0128 ) // SAYs were erased when pressing ALT WM_UPDATEUISTATE
{
LONG lResult = CallWindowProc( ( FARPROC ) GetProp( hWnd, "__FWTRANS" ), hWnd, uMsg, wParam, lParam );
InvalidateRect( hWnd, NULL, TRUE ...
by Richard Chidiak
Fri Feb 06, 2009 9:43 am
Forum: FiveWin for Harbour/xHarbour
Topic: Still trouble Transparent say in dialogs
Replies: 6
Views: 1361

Re: Still trouble Transparent say in dialogs

Thanks Gunther

I am still missing the define for WM_UPDATEUISTATE

Can you post it here ?

TIA

Richard
by Antonio Linares
Tue Jul 22, 2008 10:25 pm
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2008 (8.06)
Replies: 1
Views: 3461

... menor en la función WBrwLine() de la clase TWBrowse.

* Mejora: En la clase TControl, en el método HandleEvent() se ha añadido el mensaje WM_UPDATEUISTATE para soportar la colocación de controles
TBtnBmp en barras de botones.

* Mejora: En la clase TTrayIcon nuevo DATA lSuccess para comprobar ...
by Antonio Linares
Fri Jun 27, 2008 11:33 am
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio 2008 (8.06)
Replies: 1
Views: 3461

New FTDN June/Junio 2008 (8.06)

... TActiveX.prg

* Fix: Minor change in Class TWBrowse function WBrwLine().

* Enhancement: Class TControl Method HandleEvent() message WM_UPDATEUISTATE, added support for controls TBtnBmp when placed on button bars.

* Enhancement: CLASS TTrayIcon new DATA lSuccess to check if the tray icon ...
by Antonio Linares
Thu Apr 24, 2008 9:44 am
Forum: WhatsNew / Novedades
Topic: New FTDN April / Abril 2008 (8.04)
Replies: 1
Views: 4107

... para las opciones de los "menuitems".

* Corrección: La clase TControl ha sido modificada para procesar apropiadamente el mensaje WM_UPDATEUISTATE. Esto causaba que algunos controles no se visualizaban al pulsar la tecla "Alt" en Vista.

* Nuevo: Soporte para los ficheros de ayuda CHM ...
by Antonio Linares
Fri Apr 11, 2008 11:42 am
Forum: WhatsNew / Novedades
Topic: New FTDN April / Abril 2008 (8.04)
Replies: 1
Views: 4107

New FTDN April / Abril 2008 (8.04)

... Class TWindow Method MeasureItem() returns wider sizes for menuitems.

* Fix: Class TControl has been modified to properly process WM_UPDATEUISTATE message. This was causing some controls not to be seen when pressing Alt in Vista.

* New: Help CHM files support, using the same syntax and ...
by karinha
Fri Aug 31, 2007 7:10 pm
Forum: FiveWin para Harbour/xHarbour
Topic: COLORES EN GROUP BOX
Replies: 11
Views: 3925

COLORES EN GROUP BOX

... oGroup ID 501 COLOR CLR_VERMELHO, CLR_AMARELO OF oDlg ;
FONT oFnt TRANSPARENT
//

Ya modifique la classe GROUP.PRG, mas...

//

#define WM_UPDATEUISTATE 296 // 0x0128

//

METHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TGroup

local nResult

if ::lDrag .and. nMsg == WM_NCHITTEST // To ...
by karinha
Thu Aug 24, 2006 4:04 pm
Forum: FiveWin para Harbour/xHarbour
Topic: trasparent error in dialog
Replies: 8
Views: 2670

... nMsg == WM_NCHITTEST // To have a standard behavior on Clicks
return DefWindowProc( ::hWnd, nMsg, nWParam, nLParam )
endif

if nMsg == WM_UPDATEUISTATE // Groups and contained controls were erased when pressing ALT
nResult = Super:HandleEvent( nMsg, nWParam, nLParam )
::oWnd:Refresh()
return ...
by karinha
Thu Aug 24, 2006 4:03 pm
Forum: FiveWin para Harbour/xHarbour
Topic: trasparent error in dialog
Replies: 8
Views: 2670

//-> Change in your class GROUP.PRG

#define WM_UPDATEUISTATE 296 // 0x0128