Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHTML disable & scrolling

Status
Not open for further replies.

shetlandbob

Programmer
Mar 9, 2004
528
GB
Hi,

I have a DHTML document which I load up in a Visual C++.Net application.

I use
Code:
  dhtml.loadDocument( VARIANT("FILE"))
to load a file that I create in my code. This works fine, however if I have the dhtml object "disabled" (thus user cant change values ) then I cannot scroll in the window (i have set formats to use and thus have disabled line wrapping).

If I set "disable = false" then I can scroll in the window but the user can delete the text in the dhtml window??

Any ideas how I can set the dhtml window so the user can scroll to the window extents ( up and down and across ) but cannot change the contents of the window?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top