How to chage line size?

forum.advanced.programming (1998-2005)
As

How to chage line size?

Post by As » 22 Feb 2005, 22:05

 Posted by:  As 

How can I change line size?

I try

Set hWnd = SalGetFirstChild( hWndForm, TYPE_Line )
If hWnd != hWndNULL
Call SalGetWindowSize( hWnd , nX, nY )
Call SalSetWindowSize( hWnd, nX*2, nY )
Call SalGetWindowSize( hWnd , nX, nY )

But not work

cschubert
Germany
Posts: 882
Joined: 23 May 2018, 11:26
Location: Germany

How to chage line size?

Post by cschubert » 22 Feb 2005, 22:40

 Posted by:  Christian Schubert 

As,

you must set "bStaticsAsWindows" to TRUE ("SAM_AppStartup" should be a good
place) to make TD create lines as real window objects. Thsi also applies to
background texts.

HTH

Christain Schubert

As

How to chage line size?

Post by As » 23 Feb 2005, 12:08

 Posted by:  As 

I use "bStaticsAsWindows" on SAM_AppStartup

It work fine to frame, brackground, ...
But dont work whit line

"Christian Schubert"
news:9CzVvZSGFHA.2396@guptaweb...

Attachment: Type_line.apt

Christian Astor

How to chage line size?

Post by Christian Astor » 23 Feb 2005, 13:06

 Posted by:  Christian ASTOR 


eg Static, WM_PAINT (... CreatePen()... MoveToEx()-LineTo(), ...)

Return to “advanced.programming”

Who is online

Users browsing this forum: [Ccbot] and 0 guests