Click here to Skip to main content
15,920,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: char* vs vectors vs std::string Pin
led mike23-Oct-06 11:34
led mike23-Oct-06 11:34 
AnswerRe: char* vs vectors vs std::string Pin
Nemanja Trifunovic23-Oct-06 9:45
Nemanja Trifunovic23-Oct-06 9:45 
AnswerRe: char* vs vectors vs std::string Pin
fat_boy23-Oct-06 23:43
fat_boy23-Oct-06 23:43 
QuestionCDialog access ! Pin
mostafa_pasha23-Oct-06 8:48
mostafa_pasha23-Oct-06 8:48 
QuestionRe: CDialog access ! Pin
David Crow23-Oct-06 9:37
David Crow23-Oct-06 9:37 
AnswerRe: CDialog access ! Pin
mostafa_pasha23-Oct-06 10:40
mostafa_pasha23-Oct-06 10:40 
GeneralRe: CDialog access ! Pin
Jörgen Sigvardsson23-Oct-06 11:23
Jörgen Sigvardsson23-Oct-06 11:23 
GeneralRe: CDialog access ! Pin
David Crow24-Oct-06 3:05
David Crow24-Oct-06 3:05 
mostafa_pasha wrote:
is that anyway that call CMyDialog's function from CMyFile
class?


Sure, but why would you want to? By allowing CMyFile access to the internals of CMyDialog, you have thus tied the two together (i.e., encapsulation). It's especially troublesome if you are wanting CMyFile to manipulate a UI component (e.g., progress bar) that CMyDialog owns. You should be posting a message to CMyDialog instead.


"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


AnswerRe: CDialog access ! Pin
Hamid_RT23-Oct-06 22:24
Hamid_RT23-Oct-06 22:24 
GeneralRe: CDialog access ! Pin
mostafa_pasha24-Oct-06 2:24
mostafa_pasha24-Oct-06 2:24 
GeneralRe: CDialog access ! Pin
Hamid_RT24-Oct-06 2:42
Hamid_RT24-Oct-06 2:42 
GeneralRe: CDialog access ! Pin
mostafa_pasha24-Oct-06 2:48
mostafa_pasha24-Oct-06 2:48 
GeneralRe: CDialog access ! Pin
Hamid_RT24-Oct-06 19:32
Hamid_RT24-Oct-06 19:32 
QuestionChecking if a file exists Pin
Giulio200023-Oct-06 8:37
Giulio200023-Oct-06 8:37 
AnswerRe: Checking if a file exists Pin
Mark Salsbery23-Oct-06 8:44
Mark Salsbery23-Oct-06 8:44 
AnswerRe: Checking if a file exists Pin
Zac Howland23-Oct-06 8:47
Zac Howland23-Oct-06 8:47 
AnswerRe: Checking if a file exists Pin
Giulio200023-Oct-06 8:56
Giulio200023-Oct-06 8:56 
GeneralRe: Checking if a file exists Pin
Eric Dahlvang23-Oct-06 9:15
Eric Dahlvang23-Oct-06 9:15 
QuestionRe: Checking if a file exists Pin
David Crow23-Oct-06 9:56
David Crow23-Oct-06 9:56 
AnswerRe: Checking if a file exists Pin
Sceptic Mole23-Oct-06 11:23
Sceptic Mole23-Oct-06 11:23 
QuestionRe: Checking if a file exists Pin
David Crow24-Oct-06 3:28
David Crow24-Oct-06 3:28 
AnswerRe: Checking if a file exists Pin
Mila02523-Oct-06 10:31
Mila02523-Oct-06 10:31 
AnswerRe: Checking if a file exists Pin
Jörgen Sigvardsson23-Oct-06 11:21
Jörgen Sigvardsson23-Oct-06 11:21 
AnswerRe: Checking if a file exists Pin
Hamid_RT23-Oct-06 22:15
Hamid_RT23-Oct-06 22:15 
AnswerRe: Checking if a file exists Pin
fat_boy23-Oct-06 23:43
fat_boy23-Oct-06 23:43 

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.