Cocoa/Objective-C Question



Hi everyone,

Firstly I wanted to say thank you to all the contributors who have
provided good advice for myself and others to use, while some people
might not be thankful, I assure you that there are many of us out there
who really do appreciate the help given.

I have written a small cocoa app which is basically just a simple user
interface. It consists of a window with shapes that you can draw inside
it. It also has scrollbars for when the background (or image) is
smaller than the window itself. The problem I am having is that when I
click and drag a shape (to move it), it does not automatically scroll
(for example, if I click inside the shape and drag the mouse down below
the bottom of the window, it will not scroll down as I would like it
to).

Any help would be greatly appreciated.

p.s. I have googled all over the place for this but the closest thing I
have found is grab-scrolling code on this page:
http://iratescotsman.com/products/source/)

Thanks!

.



Relevant Pages

  • BUG?? CScrollView and/or Scroll Bars? Confirm???
    ... Full Window Drag Enabled ... CScrollView::OnInitDialog to set the scroll size to 1000. ... mousing over the horizontal scroll bar no longer works correctly either... ...
    (microsoft.public.vc.mfc)
  • Re: jerky scrolling/dragging
    ... Alias ... however whenever i drag a window, ... > scroll a page on the desktop or on the internet the movement is all jerky ...
    (microsoft.public.windowsxp.general)
  • Re: Dragging and Wimp_OpenWindow
    ... At the top of the window there is a line of headers that ... many header buttons need to move and one needs to change size. ... moving along with the scroll. ... I thought of type 7 because it doesn't show a drag box. ...
    (comp.sys.acorn.programmer)
  • Re: Solution explorer
    ... Here's my advice for VS2005; ... and if you click on one of the parts of the plus sign, the window will dock ... I have to drag it out of sight to be able to use the screen then ... put this window back where it belongs. ...
    (microsoft.public.dotnet.general)
  • Re: Odd Problem: Files dragged onto Recycle Bin do not delete
    ... Have you put a tick against in the scroll ... panel of the Advanced Customized Start Menu window as I said in my ... I meant if you meant drag and drop did not work. ...
    (microsoft.public.windowsxp.help_and_support)