Solved

Problem about the foucs?

Posted on 1998-10-08
2
187 Views
Last Modified: 2013-11-20
Hi,

In my project, I have placed a edit box and a ListCtrl in
a CFormView.
Now I want to implement like this:
While I am inputting a char into the editbox, one row of data
displayed in the ListView will be highlighted and  I can
continue to input char into the editbox.

How can I implement this?
0
Comment
Question by:cplau
2 Comments
 

Author Comment

by:cplau
ID: 1323127
Edited text of question
0
 

Accepted Solution

by:
umarama earned 40 total points
ID: 1323128
In the resource editor, check the option for ListCtrl : Show Selection Always. This is seen in the 'styles' tab.

With this, your row selection will always be highlighted. Ofcourse, when you are editing in the editbox, the list ctrl will lose focus and hence you will see your highlighted row as gray in color and not the focus color (default blue)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now