Click here to Skip to main content
16,016,736 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Progress bar Pin
MahaKh28-Sep-09 23:35
MahaKh28-Sep-09 23:35 
GeneralRe: Progress bar Pin
Iain Clarke, Warrior Programmer29-Sep-09 0:37
Iain Clarke, Warrior Programmer29-Sep-09 0:37 
JokeRe: Progress bar Pin
David Crow29-Sep-09 3:42
David Crow29-Sep-09 3:42 
QuestionRe: Progress bar Pin
CPallini29-Sep-09 0:09
mveCPallini29-Sep-09 0:09 
QuestionAnother CListCtrl question [Solved] Pin
sashoalm28-Sep-09 22:08
sashoalm28-Sep-09 22:08 
AnswerRe: Another CListCtrl question Pin
«_Superman_»28-Sep-09 22:24
professional«_Superman_»28-Sep-09 22:24 
GeneralRe: Another CListCtrl question Pin
sashoalm29-Sep-09 0:37
sashoalm29-Sep-09 0:37 
Questionsetfocus Pin
hrishiS28-Sep-09 22:03
hrishiS28-Sep-09 22:03 
Hi to all,

Could anyone please tell me how to use setfocus (or may be any other methods) to set focus to an editbox by default. ie whenever the dialog box opens, cursor should be in the editbox.

I have variables of the edit box, but as value. not control. So I guess we can use something like
GetDlgItem(IDC_EDIT1)->SetFocus();

But its not working for me. Please help
thanks in advance

-----------------------------
I am a beginner

AnswerRe: setfocus Pin
sashoalm28-Sep-09 22:04
sashoalm28-Sep-09 22:04 
GeneralRe: setfocus Pin
hrishiS28-Sep-09 22:06
hrishiS28-Sep-09 22:06 
GeneralRe: setfocus Pin
sashoalm28-Sep-09 22:09
sashoalm28-Sep-09 22:09 
GeneralRe: setfocus Pin
hrishiS28-Sep-09 22:45
hrishiS28-Sep-09 22:45 
GeneralRe: setfocus Pin
sashoalm28-Sep-09 23:24
sashoalm28-Sep-09 23:24 
AnswerRe: setfocus Pin
CPallini28-Sep-09 23:04
mveCPallini28-Sep-09 23:04 
QuestionHow can we read one application variable value from other application Pin
mohant$.net28-Sep-09 21:49
mohant$.net28-Sep-09 21:49 
AnswerRe: How can we read one application variable value from other application Pin
Cedric Moonen28-Sep-09 21:52
Cedric Moonen28-Sep-09 21:52 
GeneralRe: How can we read one application variable value from other application Pin
mohant$.net28-Sep-09 22:22
mohant$.net28-Sep-09 22:22 
GeneralRe: How can we read one application variable value from other application Pin
Cedric Moonen28-Sep-09 22:31
Cedric Moonen28-Sep-09 22:31 
GeneralRe: How can we read one application variable value from other application Pin
mohant$.net28-Sep-09 22:54
mohant$.net28-Sep-09 22:54 
GeneralRe: How can we read one application variable value from other application Pin
Cedric Moonen28-Sep-09 23:02
Cedric Moonen28-Sep-09 23:02 
GeneralRe: How can we read one application variable value from other application Pin
mohant$.net28-Sep-09 23:15
mohant$.net28-Sep-09 23:15 
GeneralRe: How can we read one application variable value from other application Pin
Cedric Moonen28-Sep-09 23:26
Cedric Moonen28-Sep-09 23:26 
GeneralRe: How can we read one application variable value from other application Pin
mohant$.net28-Sep-09 23:41
mohant$.net28-Sep-09 23:41 
QuestionWait cursor remain waiting after the even finished Pin
Chesnokov Yuriy28-Sep-09 21:41
professionalChesnokov Yuriy28-Sep-09 21:41 
AnswerRe: Wait cursor remain waiting after the even finished Pin
Iain Clarke, Warrior Programmer28-Sep-09 21:58
Iain Clarke, Warrior Programmer28-Sep-09 21:58 

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.