Click here to Skip to main content
15,910,130 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionerror LNK2019: unresolved external symbol Pin
PankajB17-Mar-09 22:47
PankajB17-Mar-09 22:47 
AnswerRe: error LNK2019: unresolved external symbol Pin
Cedric Moonen17-Mar-09 22:55
Cedric Moonen17-Mar-09 22:55 
GeneralRe: error LNK2019: unresolved external symbol Pin
PankajB17-Mar-09 23:01
PankajB17-Mar-09 23:01 
QuestionHow to replace/change the container menu item and menu item behaviour from an activex control Pin
Member 436145517-Mar-09 22:26
Member 436145517-Mar-09 22:26 
AnswerRe: How to replace/change the container menu item and menu item behaviour from an activex control Pin
Jerry.Wang18-Mar-09 3:35
Jerry.Wang18-Mar-09 3:35 
GeneralRe: How to replace/change the container menu item and menu item behaviour from an activex control Pin
Member 436145518-Mar-09 19:30
Member 436145518-Mar-09 19:30 
QuestionA dialog with button controls does not have focus OnKeyDown Pin
AglaiaMasaki17-Mar-09 22:06
AglaiaMasaki17-Mar-09 22:06 
AnswerRe: A dialog with button controls does not have focus OnKeyDown Pin
Code-o-mat17-Mar-09 23:00
Code-o-mat17-Mar-09 23:00 
If you read the documentation of CDialog::OnInitDialog[^], you find this:
Return Value

Specifies whether the application has set the input focus to one of the controls in the dialog box. If OnInitDialog returns nonzero, Windows sets the input focus to the first control in the dialog box. The application can return 0 only if it has explicitly set the input focus to one of the controls in the dialog box.

So return FALSE from OnInitDialog. Does that help?

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <

GeneralRe: A dialog with button controls does not have focus OnKeyDown Pin
AglaiaMasaki17-Mar-09 23:29
AglaiaMasaki17-Mar-09 23:29 
GeneralRe: A dialog with button controls does not have focus OnKeyDown Pin
Code-o-mat17-Mar-09 23:46
Code-o-mat17-Mar-09 23:46 
GeneralRe: A dialog with button controls does not have focus OnKeyDown Pin
AglaiaMasaki18-Mar-09 1:38
AglaiaMasaki18-Mar-09 1:38 
GeneralRe: A dialog with button controls does not have focus OnKeyDown Pin
Code-o-mat18-Mar-09 1:43
Code-o-mat18-Mar-09 1:43 
AnswerRe: A dialog with button controls does not have focus OnKeyDown Pin
Sophiya Chen18-Mar-09 22:10
Sophiya Chen18-Mar-09 22:10 
Questionfor loop Pin
sonyrehal17-Mar-09 20:56
sonyrehal17-Mar-09 20:56 
AnswerRe: for loop Pin
Sunil Lanke17-Mar-09 21:09
Sunil Lanke17-Mar-09 21:09 
GeneralRe: for loop Pin
Hamid_RT17-Mar-09 21:20
Hamid_RT17-Mar-09 21:20 
GeneralRe: for loop Pin
sonyrehal17-Mar-09 21:38
sonyrehal17-Mar-09 21:38 
GeneralRe: for loop Pin
Cedric Moonen17-Mar-09 21:51
Cedric Moonen17-Mar-09 21:51 
QuestionRe: for loop Pin
CPallini17-Mar-09 22:44
mveCPallini17-Mar-09 22:44 
AnswerRe: for loop Pin
Iain Clarke, Warrior Programmer18-Mar-09 0:06
Iain Clarke, Warrior Programmer18-Mar-09 0:06 
JokeRe: for loop Pin
CPallini18-Mar-09 0:13
mveCPallini18-Mar-09 0:13 
GeneralRe: for loop Pin
Iain Clarke, Warrior Programmer18-Mar-09 0:30
Iain Clarke, Warrior Programmer18-Mar-09 0:30 
GeneralRe: for loop Pin
CPallini18-Mar-09 0:47
mveCPallini18-Mar-09 0:47 
GeneralRe: for loop Pin
sonyrehal17-Mar-09 21:39
sonyrehal17-Mar-09 21:39 
AnswerRe: for loop [modified] Pin
Cedric Moonen17-Mar-09 21:23
Cedric Moonen17-Mar-09 21:23 

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.