Scrollbar for opengl view
I have implemented zoom method for my NSOpenGLView. NSOpenGLView frame size depends on zoom value (height and width values are being calculated by including zoom value). And if user zooms-in and nsopenglview frame size then gets bigger than my window I need to have scrollbar, to be able to scroll in nsopenglview. I tried adding NSOpenGLView to NSScrollView, but unsuccessfully. NSOpenGLView hasn't been scrolling. I searched in internet for info but no success too. For example this method looked very nice for me, but it didn't worked.
Maby someone could suggest me solution to do it?
Tags for this Thread