Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dynamic Listbox control [modified] Pin
Mark Salsbery13-Oct-07 7:06
Mark Salsbery13-Oct-07 7:06 
GeneralRe: dynamic Listbox control Pin
chandu00413-Oct-07 7:24
chandu00413-Oct-07 7:24 
GeneralRe: dynamic Listbox control Pin
s196675m13-Oct-07 7:57
s196675m13-Oct-07 7:57 
GeneralRe: dynamic Listbox control Pin
Mark Salsbery13-Oct-07 8:03
Mark Salsbery13-Oct-07 8:03 
GeneralRe: dynamic Listbox control Pin
chandu00413-Oct-07 8:09
chandu00413-Oct-07 8:09 
GeneralRe: dynamic Listbox control Pin
s196675m13-Oct-07 8:50
s196675m13-Oct-07 8:50 
GeneralRe: dynamic Listbox control Pin
chandu00413-Oct-07 9:54
chandu00413-Oct-07 9:54 
GeneralRe: dynamic Listbox control Pin
Mark Salsbery13-Oct-07 8:10
Mark Salsbery13-Oct-07 8:10 
s196675m wrote:
m_dynalist->UpdateData(FALSE);// false true both same effect here


It may be true that it has the same effect in this case but that's not true in general.

First, you should be passing FALSE when calling UpdateData() from OnInitDialog.

Second, CDialog::OnInitDialog() Calls UpdateData(FALSE) for you....it's redundant to call
it again unless you've actually made a modification that effects DDE - you haven't here.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: dynamic Listbox control Pin
s196675m13-Oct-07 8:52
s196675m13-Oct-07 8:52 
GeneralRe: dynamic Listbox control Pin
Mark Salsbery13-Oct-07 10:02
Mark Salsbery13-Oct-07 10:02 
GeneralRe: dynamic Listbox control Pin
Mark Salsbery13-Oct-07 10:45
Mark Salsbery13-Oct-07 10:45 
GeneralRe: dynamic Listbox control [modified] Pin
s196675m13-Oct-07 10:52
s196675m13-Oct-07 10:52 
GeneralRe: dynamic Listbox control Pin
Mark Salsbery13-Oct-07 10:56
Mark Salsbery13-Oct-07 10:56 
GeneralRe: dynamic Listbox control Pin
chandu00413-Oct-07 11:02
chandu00413-Oct-07 11:02 
GeneralRe: dynamic Listbox control Pin
Mark Salsbery13-Oct-07 11:19
Mark Salsbery13-Oct-07 11:19 
QuestionVisual C++ and Linux Pin
Sangeetha_J12-Oct-07 20:51
Sangeetha_J12-Oct-07 20:51 
AnswerRe: Visual C++ and Linux Pin
led mike12-Oct-07 20:56
led mike12-Oct-07 20:56 
GeneralRe: Visual C++ and Linux Pin
Sangeetha_J12-Oct-07 20:59
Sangeetha_J12-Oct-07 20:59 
GeneralRe: Visual C++ and Linux Pin
led mike12-Oct-07 21:04
led mike12-Oct-07 21:04 
GeneralRe: Visual C++ and Linux Pin
Sangeetha_J12-Oct-07 21:05
Sangeetha_J12-Oct-07 21:05 
GeneralRe: Visual C++ and Linux Pin
markkuk13-Oct-07 6:03
markkuk13-Oct-07 6:03 
QuestionChecking net connection on a machine Pin
neha.agarwal2712-Oct-07 20:32
neha.agarwal2712-Oct-07 20:32 
AnswerRe: Checking net connection on a machine Pin
Hamid_RT12-Oct-07 20:51
Hamid_RT12-Oct-07 20:51 
GeneralRe: Checking net connection on a machine Pin
neha.agarwal2712-Oct-07 21:01
neha.agarwal2712-Oct-07 21:01 
GeneralRe: Checking net connection on a machine Pin
Hamid_RT12-Oct-07 21:31
Hamid_RT12-Oct-07 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.