Solved

Problem about the foucs?

Posted on 1998-10-08
1
174 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, the data
displayed in the ListView will be highlighted also.

How can I implement this?

Thanks!!!
0
Comment
Question by:ee_lcpaa
1 Comment
 

Accepted Solution

by:
umarama earned 40 total points
ID: 1323126
I think this question has been repeated by mistake. nevertheless, here is the answer repeated !

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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 …
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.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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