Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionScroll a CListCtrl? Pin
Dominik Reichl2-Jul-03 9:40
Dominik Reichl2-Jul-03 9:40 
AnswerRe: Scroll a CListCtrl? Pin
basementman2-Jul-03 9:57
basementman2-Jul-03 9:57 
AnswerRe: Scroll a CListCtrl? Pin
Ryan Binns3-Jul-03 1:39
Ryan Binns3-Jul-03 1:39 
GeneralRe: Scroll a CListCtrl? Pin
Dominik Reichl3-Jul-03 3:45
Dominik Reichl3-Jul-03 3:45 
GeneralRe: Scroll a CListCtrl? Pin
Ryan Binns3-Jul-03 4:03
Ryan Binns3-Jul-03 4:03 
GeneralRe: Scroll a CListCtrl? Pin
Dominik Reichl3-Jul-03 5:56
Dominik Reichl3-Jul-03 5:56 
GeneralRe: Scroll a CListCtrl? Pin
Ryan Binns3-Jul-03 14:55
Ryan Binns3-Jul-03 14:55 
GeneralSelecting multiple CEdit Boxes Pin
K. Shaffer2-Jul-03 9:18
K. Shaffer2-Jul-03 9:18 
Is it possible to set the selection of text in two separate CEdit boxes at the same time? In order to highilght the first box, I use

m_approach1C.SetFocus();//set focus
m_approach1C.SetSel(0,-1);//select entire text

I must call SetFocus() for this to work, but I cannot set the focus to 2 CEdit boxes at the same time, so if I do this...

m_approach0C.SetFocus();//set focus to box 1
m_approach0C.SetSel(0,-1);//select all text in box 1
m_approach1C.SetSel(0,-1);//select all text in box 2

only the first CEdit control selects the text.

If I cannot do this, is there a way to change the background color of a CEdit box?

"Because without beer, things do not seem to go as well."

Kevin Shaffer
kshaff03@msn.com
GeneralRe: Selecting multiple CEdit Boxes Pin
John R. Shaw2-Jul-03 11:16
John R. Shaw2-Jul-03 11:16 
GeneralRe: Selecting multiple CEdit Boxes Pin
Ryan Binns3-Jul-03 1:43
Ryan Binns3-Jul-03 1:43 
GeneralHaving some trouble subclassing dynamically created CButtons Pin
Flack2-Jul-03 8:57
Flack2-Jul-03 8:57 
GeneralRe: Having some trouble subclassing dynamically created CButtons Pin
basementman2-Jul-03 9:38
basementman2-Jul-03 9:38 
GeneralRe: Having some trouble subclassing dynamically created CButtons Pin
Flack2-Jul-03 10:14
Flack2-Jul-03 10:14 
GeneralRe: Having some trouble subclassing dynamically created CButtons Pin
Ryan Binns2-Jul-03 16:08
Ryan Binns2-Jul-03 16:08 
QuestionCreate and Access Hardware? Pin
Selevercin2-Jul-03 8:28
Selevercin2-Jul-03 8:28 
AnswerRe: Create and Access Hardware? Pin
John M. Drescher2-Jul-03 8:51
John M. Drescher2-Jul-03 8:51 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 9:13
Selevercin2-Jul-03 9:13 
GeneralRe: Create and Access Hardware? Pin
John M. Drescher2-Jul-03 9:18
John M. Drescher2-Jul-03 9:18 
GeneralRe: Create and Access Hardware? Pin
David Crow2-Jul-03 10:01
David Crow2-Jul-03 10:01 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 10:54
Selevercin2-Jul-03 10:54 
GeneralRe: Create and Access Hardware? Pin
David Crow2-Jul-03 16:54
David Crow2-Jul-03 16:54 
GeneralRe: Create and Access Hardware? Pin
jhwurmbach3-Jul-03 1:19
jhwurmbach3-Jul-03 1:19 
AnswerRe: Create and Access Hardware? Pin
Trollslayer2-Jul-03 11:14
mentorTrollslayer2-Jul-03 11:14 
GeneralRe: Create and Access Hardware? Pin
Selevercin2-Jul-03 12:33
Selevercin2-Jul-03 12:33 
GeneralRe: Create and Access Hardware? Pin
Trollslayer2-Jul-03 13:02
mentorTrollslayer2-Jul-03 13:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.