#include "FiveWin.ch"
function Main()
local oDlg
SkinButtons()
DEFINE DIALOG oDlg
@ 2, 2 BUTTON oBtn PROMPT "Test" ACTION MsgInfo( "ok" )
ACTIVATE DIALOG oDlg CENTERED
return nil
Function FWSkinBtnKeyUp( hWnd, nKey, nFlags )
local hDC
If nKey == 32
hDC = GetDC( hWnd )
FWSkinBtnPaint( hWnd, hDC, .F. )
ReleaseDC( hWnd, hDC )
EndIf
MsgBeep()
Return nil
Function FWSkinBtnLButtonDown( hWnd, nRow, nCol )
local hDC := GetDC( hWnd )
local oBtn := oWndFromhWnd( hWnd )
hWndDown = hWnd
SetFocus( hWnd )
SysRefresh()
lBtnPressed = .T.
lMOver = .F.
FWSkinBtnPaint( hWnd, hDC, lBtnPressed )
ReleaseDC( hWnd, hDC )
MsgBeep()
Return nil
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 67 guests