Click here to Skip to main content
14,368,155 members

C / C++ / MFC

 
QuestionHow to hide or show button from another class MFC vc++ Pin
Member 1457555630-Sep-19 4:44
memberMember 1457555630-Sep-19 4:44 
AnswerRe: How to hide or show button from another class MFC vc++ Pin
Victor Nijegorodov30-Sep-19 4:51
memberVictor Nijegorodov30-Sep-19 4:51 
GeneralRe: How to hide or show button from another class MFC vc++ Pin
Member 1457555630-Sep-19 5:10
memberMember 1457555630-Sep-19 5:10 
GeneralRe: How to hide or show button from another class MFC vc++ Pin
Victor Nijegorodov30-Sep-19 5:17
memberVictor Nijegorodov30-Sep-19 5:17 
GeneralRe: How to hide or show button from another class MFC vc++ Pin
David Crow30-Sep-19 6:09
memberDavid Crow30-Sep-19 6:09 
AnswerRe: How to hide or show button from another class MFC vc++ Pin
David Crow30-Sep-19 6:06
memberDavid Crow30-Sep-19 6:06 
GeneralRe: How to hide or show button from another class MFC vc++ Pin
Member 1457555630-Sep-19 19:58
memberMember 1457555630-Sep-19 19:58 
QuestionCreating separate class for database connection MFC vc++ Pin
Member 1457555626-Sep-19 19:59
memberMember 1457555626-Sep-19 19:59 
I have created a simple dialog application where it can perform crud operations but how I did it was I open a connection an do some operations inside most of the buttons as I'm still starting out as a beginner(noob).

What will be a good approach to separate all the database related operations in another class? or keeping as it is, is it a good practice?

I would like some suggestions.

Thank you.
AnswerRe: Creating separate class for database connection MFC vc++ Pin
Gerry Schmitz26-Sep-19 20:08
mveGerry Schmitz26-Sep-19 20:08 
SuggestionRe: Creating separate class for database connection MFC vc++ Pin
David Crow27-Sep-19 7:58
memberDavid Crow27-Sep-19 7:58 
Questioncannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 7:26
memberMember 1180360726-Sep-19 7:26 
AnswerRe: cannot change rgrc0 with wm_nccalcsize Pin
Richard MacCutchan26-Sep-19 7:47
protectorRichard MacCutchan26-Sep-19 7:47 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 8:41
memberMember 1180360726-Sep-19 8:41 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Victor Nijegorodov26-Sep-19 9:33
memberVictor Nijegorodov26-Sep-19 9:33 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 9:43
memberMember 1180360726-Sep-19 9:43 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Victor Nijegorodov26-Sep-19 10:08
memberVictor Nijegorodov26-Sep-19 10:08 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 10:16
memberMember 1180360726-Sep-19 10:16 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Victor Nijegorodov26-Sep-19 10:21
memberVictor Nijegorodov26-Sep-19 10:21 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 10:22
memberMember 1180360726-Sep-19 10:22 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Victor Nijegorodov26-Sep-19 10:31
memberVictor Nijegorodov26-Sep-19 10:31 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360726-Sep-19 10:49
memberMember 1180360726-Sep-19 10:49 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Victor Nijegorodov26-Sep-19 11:14
memberVictor Nijegorodov26-Sep-19 11:14 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Richard MacCutchan26-Sep-19 23:51
protectorRichard MacCutchan26-Sep-19 23:51 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
David Crow27-Sep-19 7:54
memberDavid Crow27-Sep-19 7:54 
SuggestionRe: cannot change rgrc0 with wm_nccalcsize Pin
David Crow26-Sep-19 10:38
memberDavid Crow26-Sep-19 10:38 

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.