I've tried:
- Code: Select all Expand view
- REDEFINE BUTTONBMP ID 505 OF oFld:aDialogs[3] ; //show images
ACTION ( msgstop( GetNMHDRHWndFrom( oBmp[3]:oDlg ) ), ;
Show_Hide_Img(.F., .T., oDbf, oDlg, @oBmp, @cText, aPedg, cImages) );
BITMAP ".\images\camera.bmp"
REDEFINE IMAGE oBmp[3] ID 400 OF oFld:aDialogs[3] ADJUST UPDATE
msgstop( IsWindowVisible( oBmp[3]:oDlg ) )
msgstop( IsWindowVisible( ::oBmp[3]:oDlg ) )
msgstop( IsWindowVisible( oBmp[3]:oDlg:hWnd ) )
msgstop( IsWindowVisible( ::oBmp[3]:oDlg:hWnd ) )
msgstop( IsWindowVisible( oDlg:hWnd ) ) //<-- this works but I do not need to know if the dialog is hidden, but if the control oBmp [3] of the dialog oDlg has been hidden
I get "Error BASE/1004 Message not found: TIMAGE:ODLG"