PtHtml widget

Hi,

Has anybody sucessfully used PtHtml in line-mode and page-mode?

What we want is that PtHtml can work in these two modes:

Line-mode: drag a scroll bar of PtHtml widget
Page-mode: press two buttons( PageDown and PageUp)

I can not swap between these two modes. Also the page number I
got is wrong:

//// Set Html widget in page mode
PtSetArg( &Args[0], Pt_ARG_HTML_FLAGS, Pt_HTML_PAGE_MODE,
Pt_HTML_PAGE_MODE );
PtSetResources( ABW_HtmlWidget, 1, Args );

PtSetArg( &Args[0], Pt_ARG_HTML_PAGES, &HtmlPageNumber, 0 );
PtGetResources( ABW_HtmlWidget, 1, Args );

Any idea?

Regards

\

WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: wbtong@aquilamsl.com