ScrollArea::ScrollArea() { SetWorkSize(Size(1000,1000)); AddFrame(sc); Add(work); sc.HideX(); // // sc.HideY(); // ADDED uncomment to hide... sc.WhenScroll=THISBACK(Scroll); // AddFrame(ThinOutsetFrame()); AddFrame(ThinInsetFrame()); }
Report message to a moderator