Solved

IDC_IBEAM Icon

Posted on 1998-10-20
2
1,208 Views
Last Modified: 2013-11-20
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
Comment
Question by:billyh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
plaroche earned 50 total points
ID: 1323558
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
 
LVL 1

Author Comment

by:billyh
ID: 1323559
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question