Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1311
  • Last Modified:

IDC_IBEAM Icon

I am having a night-mare with my application. You see my View class is a sub-class of CScrollView. I have created an interface similar to spread-sheets using CRect class. My probleam is that I want the IDC_IBEAM cursor to be shownwhen text is entered to the CRect class, just like when the View class is a sub-class of CEditView.

I cannot change the inheritance to CEditView as the application has reached a level of complexity where-by changing this would mean re-doing the whole application again.

Please help, I have a serious time schedule, the project deadline is very near.

Billy
0
billyh
Asked:
billyh
1 Solution
 
plarocheCommented:
Override OnSetCursor(), check where the cursor is positioned and set change the cursor's shape if it's in one of the rect regions.
0
 
billyhAuthor Commented:
plaroche

Thanx for the advice, it gave the idea. I will give you the points. I found the solution in this other MFC book I am using thanx anyhow.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now