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
Solved

Problem about the foucs?

Posted on 1998-10-08
2
219 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
not able to insert into temp table 68 169
Define unique primary key 9 95
Use of condition with 'serial' in ansible 2 71
Authenticate using sesu from script 7 56
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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 shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

860 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