Click here to Skip to main content
15,900,907 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralBitmap Pin
Master6-May-00 0:17
Master6-May-00 0:17 
GeneralPreventing the movement of caret or focus Pin
Ryan Park9-May-00 15:57
Ryan Park9-May-00 15:57 
GeneralRe: Preventing the movement of caret or focus Pin
Andrei Zenkovitch10-May-00 4:32
Andrei Zenkovitch10-May-00 4:32 
GeneralAdding MFC to ATL Pin
Odd Magne Haagensen4-May-00 22:48
sussOdd Magne Haagensen4-May-00 22:48 
GeneralRe: Adding MFC to ATL Pin
Franky Braem5-May-00 0:51
Franky Braem5-May-00 0:51 
GeneralRe: Adding MFC to ATL Pin
Member 10545-May-00 1:53
Member 10545-May-00 1:53 
GeneralRe: Adding MFC to ATL Pin
Mike Dunn5-May-00 14:10
Mike Dunn5-May-00 14:10 
GeneralSelecting contents of Edit Box Pin
Bruce4-May-00 4:35
Bruce4-May-00 4:35 
I am making a form-based executable with numeric edit boxes. Is there any way to make it so the contents of an edit box are selected with a single click? I want to make it easy for people to replace the contents if they're not accustomed to tabbing or double clicking, but I don't want the contents cleared or changed unless they choose to do so.

I tried using OnSetFocus with a SetSel(0,-1) command, but it didn't do anything.
GeneralRe: Selecting contents of Edit Box Pin
Anthony Mai8-May-00 13:47
Anthony Mai8-May-00 13:47 
General"Realtime" Displaying of HTML in CWebBrowser2 Pin
Jeremy Davis3-May-00 22:15
Jeremy Davis3-May-00 22:15 
GeneralRe: Darn Big report Pin
Buck4-May-00 20:25
Buck4-May-00 20:25 
GeneralRe: Darn Big report Pin
Jeremy Davis4-May-00 22:15
Jeremy Davis4-May-00 22:15 
QuestionHow to create a hide Dialog ? Pin
Member 36013-May-00 7:41
Member 36013-May-00 7:41 
AnswerRe: How to create a hide Dialog ? Pin
Dmitriy4-May-00 12:57
Dmitriy4-May-00 12:57 
GeneralWrapping OLEDB resultsets. Pin
Rob Wainwright3-May-00 6:35
Rob Wainwright3-May-00 6:35 
QuestionMSDE Samples ? Pin
Rob Wainwright3-May-00 6:34
Rob Wainwright3-May-00 6:34 
QuestionCreating datasources/databases programatically ? Pin
Rob Wainwright3-May-00 6:33
Rob Wainwright3-May-00 6:33 
GeneralCDoubleRect or CFloatRect class needed! Pin
Vlad Bychkoff2-May-00 3:38
sussVlad Bychkoff2-May-00 3:38 
GeneralRe: CDoubleRect or CFloatRect class needed! Pin
Rob Wainwright4-May-00 3:25
Rob Wainwright4-May-00 3:25 
GeneralSubclass child windows of a custom control Pin
Bart2-May-00 3:36
Bart2-May-00 3:36 
GeneralPointer to dialog Pin
Anonymous2-May-00 3:18
Anonymous2-May-00 3:18 
GeneralRe: Pointer to dialog Pin
Kurt2-May-00 4:40
Kurt2-May-00 4:40 
GeneralImporting Outlook PST files Pin
Robert Caldecott2-May-00 0:33
sussRobert Caldecott2-May-00 0:33 
GeneralOCX / COM Server Pin
Mike Appleby1-May-00 23:10
professionalMike Appleby1-May-00 23:10 
GeneralRe: OCX / COM Server Pin
Kurt2-May-00 4:37
Kurt2-May-00 4:37 

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.