... 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 ...
Search found 17 matches: updateuistate
Searched query: updateuistate
- Fri Jan 17, 2025 11:00 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4826
- 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 ...
::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 ...
- 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 ...
/* 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 ...
- 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 ...
::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 ...
- 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 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 ...
- 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 ...
#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 ...
- 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 ...
{
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 ...
- 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
I am still missing the define for WM_UPDATEUISTATE
Can you post it here ?
TIA
Richard
- Tue Jul 22, 2008 10:25 pm
- Forum: WhatsNew / Novedades
- Topic: New FTDN June/Junio 2008 (8.06)
- Replies: 1
- Views: 3461
- 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 ...
* 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 ...
- Thu Apr 24, 2008 9:44 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN April / Abril 2008 (8.04)
- Replies: 1
- Views: 4107
- 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 ...
* 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 ...
- 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 ...
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 ...
- Thu Aug 24, 2006 4:04 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: trasparent error in dialog
- Replies: 8
- Views: 2670
- Thu Aug 24, 2006 4:03 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: trasparent error in dialog
- Replies: 8
- Views: 2670