Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

set the focus to CEdit box when initialize a dialog

Posted on 2002-05-28
1
Medium Priority
?
247 Views
Last Modified: 2013-11-20
i have a dialog where the user should enter data, i need to set the foucus to this edit box, i tried to use m_edit.SetFocus() function while initialization in OnInitDialog()function but have no luck ,,, what else or what is the right way to do it.
 
0
Comment
Question by:b_yousif
1 Comment
 
LVL 4

Accepted Solution

by:
mblat earned 200 total points
ID: 7039869
if you are setting focus to control you need to return FALSE from OnInitDialog.  Do u do that?
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
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.

578 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