|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
no scrollbar showed for ActiveX control in a WinFormHello,
I have an activeX control created by ATL, which shows a treeview. It works fine on my development machine for a C# form to embed the control. If the content of the treeview beyonds the visible area of the form, the vertical or horizontal scrollbars will be showed automatically on my development machine. When I run the form on another Win2K3 with SP2, The form does not show any scrollbar no matter the control's content changed. Also the control's edge is invisible. Please advise what is wrong on the second machine. Thanks, Shangwu I fixed it by setting the control's Dock property to Fill.
Show quote "Shwu" <shwu@nospam.net> wrote in message news:uziXO4cEIHA.4400@TK2MSFTNGP05.phx.gbl... > Hello, > > I have an activeX control created by ATL, which shows a treeview. It works > fine on my development machine for a C# form to embed the control. If the > content of the treeview beyonds the visible area of the form, the vertical > or horizontal scrollbars will be showed automatically on my development > machine. When I run the form on another Win2K3 with SP2, The form does not > show any scrollbar no matter the control's content changed. Also the > control's edge is invisible. > > Please advise what is wrong on the second machine. > > Thanks, > > Shangwu > |
|||||||||||||||||||||||