Page 1 of 1

TGraph

Posted: Thu Sep 13, 2007 10:51 pm
by TimStone
I wanted to experiment including a graph in one of my dialogs ( FWH/xHarbour ). I thought I would try with the sample code, but I also wanted to use REDEFINE GRAPH instead of @ x, Y DEFINE GRAPH.

So, that means I need to link to a resource in my .rc file which is no problem, but what type of resource should I put in there ? I know for displaying a bitmap I need to use a button resource, but what about a graph ? I can't find a sample anywhere ?

Posted: Fri Sep 14, 2007 7:55 am
by StefanHaupt
Tim,

use a custom control, the classname has to be "TGraph"

Code: Select all

CONTROL "", 120, "TGraph", 0x00000000, 3, 15, 260, 135