Hello Antonio,
Ownd:nvertres() and OWND:nhorzRes() are not active in fwppc.
Is there a way to know the vertical height and horizontal ?
Thanks
Richard
#include "Fwce.ch"
#define SM_CXSCREEN 0
#define SM_CYSCREEN 1
FUNCTION MAIN()
LOCAL oWnd
DEFINE WINDOW oWnd
@ 1, 1 BUTTON "Show sizes";
SIZE 120, 30;
ACTION ( MSGINFO( GETSYSMETRICS( SM_CXSCREEN ) ),;
MSGINFO( GETSYSMETRICS( SM_CYSCREEN ) ) )
ACTIVATE WINDOW oWnd
RETURN NIL
EnricoMaria wrote:This is a working sample:
- Code: Select all Expand view RUN
#include "Fwce.ch"
#define SM_CXSCREEN 0
#define SM_CYSCREEN 1
FUNCTION MAIN()
LOCAL oWnd
DEFINE WINDOW oWnd
@ 1, 1 BUTTON "Show sizes";
SIZE 120, 30;
ACTION ( MSGINFO( GETSYSMETRICS( SM_CXSCREEN ) ),;
MSGINFO( GETSYSMETRICS( SM_CYSCREEN ) ) )
ACTIVATE WINDOW oWnd
RETURN NIL
EMG
Return to FiveWin for Pocket PC
Users browsing this forum: No registered users and 44 guests