Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: cancel dialog -- ok then how Pin
deeps_cute13-Mar-07 21:22
deeps_cute13-Mar-07 21:22 
AnswerRe: cancel dialog -- ok then how Pin
Parthi_Appu13-Mar-07 21:30
Parthi_Appu13-Mar-07 21:30 
GeneralRe: cancel dialog -- ok then how Pin
deeps_cute13-Mar-07 21:37
deeps_cute13-Mar-07 21:37 
GeneralRe: cancel dialog -- ok then how Pin
Parthi_Appu13-Mar-07 21:46
Parthi_Appu13-Mar-07 21:46 
GeneralRe: cancel dialog Pin
deeps_cute13-Mar-07 21:54
deeps_cute13-Mar-07 21:54 
GeneralRe: cancel dialog Pin
Parthi_Appu13-Mar-07 21:57
Parthi_Appu13-Mar-07 21:57 
GeneralRe: cancel dialog Pin
deeps_cute13-Mar-07 23:06
deeps_cute13-Mar-07 23:06 
GeneralRe: cancel dialog Pin
Parthi_Appu13-Mar-07 23:45
Parthi_Appu13-Mar-07 23:45 
deeps_cute wrote:
lanPrc.Create(IDD_LANSETTINGS,GetParent());


Instead of using GetParent(), use 'this'. Because the parent to the LANSettings dialog is NetConfig, not the Parent of NetConfig.

Otherwise the code seems perfect.Try the above...

Do your Duty and Don't expect the Result

GeneralRe: cancel dialog Pin
deeps_cute13-Mar-07 23:58
deeps_cute13-Mar-07 23:58 
GeneralRe: cancel dialog Pin
Parthi_Appu14-Mar-07 0:16
Parthi_Appu14-Mar-07 0:16 
GeneralRe: cancel dialog Pin
deeps_cute14-Mar-07 0:38
deeps_cute14-Mar-07 0:38 
GeneralRe: cancel dialog Pin
Parthi_Appu14-Mar-07 0:59
Parthi_Appu14-Mar-07 0:59 
Generalthe problem is Pin
deeps_cute14-Mar-07 1:50
deeps_cute14-Mar-07 1:50 
GeneralRe: the problem is Pin
Parthi_Appu14-Mar-07 2:09
Parthi_Appu14-Mar-07 2:09 
GeneralRe: the problem is Pin
deeps_cute14-Mar-07 4:05
deeps_cute14-Mar-07 4:05 
GeneralRe: the problem is Pin
Parthi_Appu14-Mar-07 16:42
Parthi_Appu14-Mar-07 16:42 
GeneralRe: the problem is - sorry Pin
deeps_cute14-Mar-07 18:00
deeps_cute14-Mar-07 18:00 
GeneralRe: the problem is - sorry Pin
Parthi_Appu14-Mar-07 18:08
Parthi_Appu14-Mar-07 18:08 
GeneralRe: the problem is - sorry Pin
deeps_cute14-Mar-07 18:22
deeps_cute14-Mar-07 18:22 
GeneralRe: the problem is - sorry Pin
Parthi_Appu14-Mar-07 18:27
Parthi_Appu14-Mar-07 18:27 
GeneralRe: the problem is - sorry Pin
deeps_cute14-Mar-07 18:56
deeps_cute14-Mar-07 18:56 
GeneralRe: cancel dialog -- ok then how Pin
G Haranadh13-Mar-07 21:59
G Haranadh13-Mar-07 21:59 
JokeRe: cancel dialog -- ok then how Pin
Parthi_Appu13-Mar-07 22:05
Parthi_Appu13-Mar-07 22:05 
AnswerRe: cancel dialog Pin
G Haranadh13-Mar-07 21:57
G Haranadh13-Mar-07 21:57 
QuestionOverview of a Handle Pin
Kotesh.N13-Mar-07 18:33
Kotesh.N13-Mar-07 18:33 

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.