Click here to Skip to main content
15,881,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: c programming Pin
Victor Nijegorodov30-Sep-19 8:16
Victor Nijegorodov30-Sep-19 8:16 
AnswerRe: c programming Pin
CPallini30-Sep-19 9:48
mveCPallini30-Sep-19 9:48 
QuestionHow to hide or show button from another class MFC vc++ Pin
Member 1457555630-Sep-19 3:44
Member 1457555630-Sep-19 3:44 
AnswerRe: How to hide or show button from another class MFC vc++ Pin
Victor Nijegorodov30-Sep-19 3:51
Victor Nijegorodov30-Sep-19 3:51 
GeneralRe: How to hide or show button from another class MFC vc++ Pin
Member 1457555630-Sep-19 4:10
Member 1457555630-Sep-19 4:10 
GeneralRe: How to hide or show button from another class MFC vc++ Pin
Victor Nijegorodov30-Sep-19 4:17
Victor Nijegorodov30-Sep-19 4:17 
GeneralRe: How to hide or show button from another class MFC vc++ Pin
David Crow30-Sep-19 5:09
David Crow30-Sep-19 5:09 
AnswerRe: How to hide or show button from another class MFC vc++ Pin
David Crow30-Sep-19 5:06
David Crow30-Sep-19 5:06 
Member 14575556 wrote:
How can I access controls of one class from another class.
Your question should probably be something like, "How can I access controls on one dialog from a separate dialog?" While it is not a good idea to do so directly (see "loose coupling"), a better way would be to send a message to the parent (the one that owns the control) dialog.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


GeneralRe: How to hide or show button from another class MFC vc++ Pin
Member 1457555630-Sep-19 18:58
Member 1457555630-Sep-19 18:58 
QuestionCreating separate class for database connection MFC vc++ Pin
Member 1457555626-Sep-19 18:59
Member 1457555626-Sep-19 18:59 
AnswerRe: Creating separate class for database connection MFC vc++ Pin
Gerry Schmitz26-Sep-19 19:08
mveGerry Schmitz26-Sep-19 19:08 
SuggestionRe: Creating separate class for database connection MFC vc++ Pin
David Crow27-Sep-19 6:58
David Crow27-Sep-19 6:58 
Questioncannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 6:26
Member 1180360726-Sep-19 6:26 
AnswerRe: cannot change rgrc0 with wm_nccalcsize Pin
Richard MacCutchan26-Sep-19 6:47
mveRichard MacCutchan26-Sep-19 6:47 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 7:41
Member 1180360726-Sep-19 7:41 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Victor Nijegorodov26-Sep-19 8:33
Victor Nijegorodov26-Sep-19 8:33 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 8:43
Member 1180360726-Sep-19 8:43 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Victor Nijegorodov26-Sep-19 9:08
Victor Nijegorodov26-Sep-19 9:08 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 9:16
Member 1180360726-Sep-19 9:16 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Victor Nijegorodov26-Sep-19 9:21
Victor Nijegorodov26-Sep-19 9:21 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 9:22
Member 1180360726-Sep-19 9:22 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Victor Nijegorodov26-Sep-19 9:31
Victor Nijegorodov26-Sep-19 9:31 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 9:49
Member 1180360726-Sep-19 9:49 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Victor Nijegorodov26-Sep-19 10:14
Victor Nijegorodov26-Sep-19 10:14 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Richard MacCutchan26-Sep-19 22:51
mveRichard MacCutchan26-Sep-19 22:51 

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.