How to define / detect a hotspotarea in METRO ?

How to define / detect a hotspotarea in METRO ?

Postby ukoenig » Tue Feb 19, 2013 8:53 pm

Hello,

is there a way to define a hotspotarea in METRO
like possible in MAIN-WINDOWS.
I want to create a sliding toolbar. In a main-window it works fine :
On focus the bar slides ( opens ) from right to left.
On lostfocus the bar slides from left to right ( hidden )

oWnd:bMMoved = { | nRow, nCol, nFlags | ;
IIF( nRow < 30 .and. nCol > aRect4 - 110, ;
IIF( lDlgaktive = .F., ( Show_Dlg(oWnd), ;
DLG_MOVE(oDlg, 0, aRect4 -110, aRect3, aRect4, 2) ), NIL ), ;
IIF( lDlgaktive = .T., ( lDlgaktive := .F., DLG_MOVE(oDlg, 0, aRect4 -110, aRect3, aRect4 , 1) ), NIL ) ) }

On MAIN-WINDOW

Image

Possible in METRO ???

Image

Best Regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 127 guests