Hi,
What WS control to use to run activex in resources?
thanks
How to use TActivex from WorkShop Resources?
- Pier Luigi
- Posts: 58
- Joined: Fri Oct 07, 2005 6:30 am
- Location: Rome - Italy
Re: How to use TActivex from WorkShop Resources?
In the source:
In the resource file:
Regards
Pier Luigi
Code: Select all
DEFINE DIALOG oDlg RESOURCE "GRAPH"
oChart := TActiveX():Redefine( 101, oDlg, "RMChart.RMChartX" )
...
ACTIVATE DIALOG oDlg CENTER
Code: Select all
GRAPH DIALOG 226, 82, 333, 234
STYLE 0x4L | WS_POPUP | WS_CAPTION | WS_THICKFRAME
CAPTION "Grafico"
FONT 6, "MS Sans Serif"
{
CONTROL "", 101, "TActivex", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 1, 1, 332, 196
}
Pier Luigi