Scrolling in CAknDialog.
| Fri, 2008-06-13 07:33 | |
|
Hi, How to enable scrolling in CAknDialog having labels with long text? I tried using following code PreLayoutDynInitL(): void CVocabolShowDialog::PreLayoutDynInitL () scrollbarFrame->DrawScrollBarsNow(); But it does'nt works Sad . Did I do something worng? Any other way to enable scrolling? Thanks in Advance. Mahavir |
|






Forum posts: 1248
Well, I don't work with S60, but with UIQ. In UIQ a dialog cannot scroll horizontally, as far as I know, and scrolls vertically automatically as soon as necessary - no further programming needed.
Anyway, I am sure that it does not work the way you tried: The dialog won't care at all about your own, separate scrollbar control that you create. How should it know something about it, and how should it react to this control that has no connection whatsoever to it?
If CAknDialog allows sideways-scrolling (and I don't think it does), it must be enabled or configured with a method of that class, or a base class like CEikDialog. When doing a quick check myself, I did not see something that looks promising.
René Brunner