dcsay on desktop the bottom right of the screen

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

dcsay on desktop the bottom right of the screen

#1 Post by digitsoft »

hello Roger
How to present a message in the bottom right of the screen

always this visible posision if it has different resolution in the monitors.
Nolberto Paulino
Regards

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: dcsay on desktop the bottom right of the screen

#2 Post by rdonnay »

Code: Select all

#INCLUDE "dcdialog.CH"

FUNCTION Main()

LOCAL GetList[0], GetOptions


@ 0,0 DCSAY 'This is my message' FONT '18.Arial Bold' ;
      COLOR GRA_CLR_DARKRED SAYSIZE 0

DCGETOPTIONS HIDE ALWAYSONTOP NOTASKBAR

DCREAD GUI FIT BUTTONS DCGUI_BUTTON_OK OPTIONS GetOptions ;
  EVAL {|o|o:setPos({AppDeskTop():currentSize()[1]-o:currentSize()[1],0}), ;
           DC_ZoomTransparent(o)} ;
  TITLE 'Alert'

RETURN nil

PROC appsys ; RETURN
The eXpress train is coming - and it has more cars.

Post Reply