Height of Window / Dialog different using same vars ?

Height of Window / Dialog different using same vars ?

Postby ukoenig » Thu May 02, 2013 8:52 am

Hello,

I'm using a WINDOW to resize, move ( getting to / left ) and define the gradient-positionss.
The Pos-results I#m saving, are to be used for a Dialog.
With a SPLITTER, I define the gradient-areas.
It works fine but the height is different ( seems to be the Window-title )
Using a window without title, is there a way to grab / move the window ?

Results :

DEFINE WINDOW oWnd1 FROM nDlgTop, nDlgLeft TO nDlgHeight, nDlgWidth PIXEL ;
COLOR CLR_BLACK, CLR_BLUE ;
TITLE "Dialog Gradient-sections" ;
NOSYSMENU


DEFINE DIALOG oGDialog FROM nDlgTop, nDlgLeft TO nDlgHeight, nDlgWidth OF oWnd PIXEL ;
TITLE "Dialog GRADIENT"


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

Re: Height of Window / Dialog different using same vars ?

Postby ukoenig » Thu May 02, 2013 5:47 pm

It works with the same vars, changing the Window-style with NO title.
The Window is the same size like the area inside the Dialog.
But how can I MOVE/ RESIZE this window.
Any solution, to use DESIGN MODE for this kind of window ?

The Combination :

DEFINE WINDOW oWnd1 FROM nDlgTop, nDlgLeft TO nDlgHeight, nDlgWidth PIXEL ;
STYLE nOr( WS_POPUP, WS_BORDER );
COLOR CLR_BLACK, CLR_BLUE


DEFINE DIALOG oGDialog FROM nDlgTop, nDlgLeft TO nDlgHeight, nDlgWidth OF oWnd PIXEL ;
TITLE "Dialog GRADIENT"


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

Re: Height of Window / Dialog different using same vars ?

Postby ukoenig » Sun May 05, 2013 5:40 pm

Found a better solution :

Image

Best Regards
Uwe :lol:
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 7 guests