Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question'OpenThread' : undeclared identifier Pin
CodeMak14-May-08 23:01
CodeMak14-May-08 23:01 
AnswerRe: 'OpenThread' : undeclared identifier Pin
prasad_som14-May-08 23:14
prasad_som14-May-08 23:14 
QuestionHow to show special chars in dialog resource [modified] Pin
KASR114-May-08 22:59
KASR114-May-08 22:59 
AnswerRe: How to show special chars in dialog resource Pin
Eurosid15-May-08 1:38
Eurosid15-May-08 1:38 
QuestionSetWindowPos doesn't seem to work Pin
ftbk14-May-08 22:57
ftbk14-May-08 22:57 
AnswerRe: SetWindowPos doesn't seem to work Pin
toxcct14-May-08 23:16
toxcct14-May-08 23:16 
AnswerRe: SetWindowPos doesn't seem to work Pin
Nelek15-May-08 5:39
protectorNelek15-May-08 5:39 
QuestionChange focus to another textbox Pin
baerten14-May-08 22:10
baerten14-May-08 22:10 
Hi,

on a view (MDI Procect) i have some textboxes. The focus is on textbox (A).
Then i hit the Return-Key to simulate a click on a button.
The click on the button does some work and finally i set the focus on another textbox (B).

I set the focus on (B) this way:
- Post a Message
- At the MessageHandler i set the focus directly: textboxb.SetFocus();

after this the focus is correctly into the textbox (B) BUT the cursor (vertical insertion bar) is still
at the textbox (A)

If i click the button with the mouse, all works fine. I get only this kind of problem if i hit return.

Sets the "return-key" on the button the focus automatically on the last "entry-control"?

Big thanks for any answer

Greetings
AnswerRe: Change focus to another textbox PinPopular
CPallini14-May-08 22:17
mveCPallini14-May-08 22:17 
GeneralRe: Change focus to another textbox Pin
baerten14-May-08 22:40
baerten14-May-08 22:40 
GeneralRe: Change focus to another textbox Pin
Iain Clarke, Warrior Programmer14-May-08 23:59
Iain Clarke, Warrior Programmer14-May-08 23:59 
JokeRe: Change focus to another textbox Pin
toxcct15-May-08 0:20
toxcct15-May-08 0:20 
GeneralRe: Change focus to another textbox Pin
baerten15-May-08 2:37
baerten15-May-08 2:37 
QuestionFtp through socks proxy Pin
William Engberts14-May-08 22:01
William Engberts14-May-08 22:01 
QuestionRandomise and rand in Visual C++ Pin
mihai12314-May-08 21:36
mihai12314-May-08 21:36 
AnswerRe: Randomise and rand in Visual C++ Pin
Cedric Moonen14-May-08 21:44
Cedric Moonen14-May-08 21:44 
AnswerRe: Randomise and rand in Visual C++ [modified] Pin
ShilpiP14-May-08 22:03
ShilpiP14-May-08 22:03 
GeneralRe: Randomise and rand in Visual C++ Pin
ShilpiP14-May-08 22:46
ShilpiP14-May-08 22:46 
GeneralRe: Randomise and rand in Visual C++ Pin
CPallini14-May-08 22:51
mveCPallini14-May-08 22:51 
GeneralRe: Randomise and rand in Visual C++ Pin
ShilpiP14-May-08 23:14
ShilpiP14-May-08 23:14 
AnswerRe: Randomise and rand in Visual C++ Pin
CPallini14-May-08 22:15
mveCPallini14-May-08 22:15 
QuestionRegarding Hyperlink Pin
H4u3214-May-08 21:32
H4u3214-May-08 21:32 
AnswerRe: Regarding Hyperlink Pin
Cedric Moonen14-May-08 21:35
Cedric Moonen14-May-08 21:35 
QuestionReset registry Pin
Ajay L D14-May-08 21:21
Ajay L D14-May-08 21:21 
GeneralRe: Reset registry Pin
CPallini14-May-08 21:31
mveCPallini14-May-08 21:31 

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.