Wednesday, January 6, 2021

tracking mouse movement

tracking mouse movement. this technique can be used in my application.

  1. Tracking The Mouse In A View
  2. the project file name is regiontracker_src.zip.

    Track a mouse click, even in a scrolled view.

    Recently, I had a project that required the user to be able to click on the screen (in the client window) and get info about the item he clicked on. This also had to work if the client window had been scrolled. While not a tough programming problem, I had to spend a couple of hours on the MSDN CD trying to get things sorted out in my already full brain. To help others who don't have the MSDN CDs (or the time to spend weeding through the MSDN CDs), I'm publishing some sample code here.

    The sample program is a SDI application created in VC6 using AppWizard. No functionality was added to the program other than the drawing and mouse tracking that I wish to demonstrate.

    Demonstrated techniques:

    1. Tracking the mouse cursor in a view
    2. Updating main status bar from a view
    3. Changing the current cursor
    4. Converting a point to values relative to various points on the screen
    5. Clickable regions in a scrolled window

  3. Scrollbars, using the WS_HSCROLL and WS_VSCROLL styles
  4. This is a paragraph.

  5. An examination of menus from a beginner's point of view
  6. a good explanation.

  7. MFC Document/View documentation and enhancements
  8. An extension to the MSDN documentation and a list of tips and tricks you can do with the MFC Doc/View architecture to enhance your applications..

  9. CResizableFormView
  10. This is a paragraph.

  11. XML Application Profile Class
  12. This is a paragraph.

  13. CWinListBox - A CWin derived custom listbox control
  14. Step-by-step creation of a custom ListBox control from a generic CWin..

  15. Visualizing Fractals
  16. Visualizing the Mandelbrot set using multiple threads of execution..

    this contains good API functions to use in my project. the project name is Fractal_Code.zip.

    the project demo is wokring in VS 2017.

  17. Bowling Calculator
  18. This is a paragraph.

  19. How to wrap an MFC collection into an STL compliant iterator with the Boost iterator_facade
  20. This is a paragraph.

  21. This is a paragraph.

  22. This is a paragraph.

  23. This is a paragraph.

  24. This is a paragraph.

  25. This is a paragraph.

  26. This is a paragraph.

  27. This is a paragraph.

  28. This is a paragraph.

No comments:

Post a Comment