Click here to Skip to main content
14,356,603 members

C / C++ / MFC

 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360728-Sep-19 4:37
memberMember 1180360728-Sep-19 4:37 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Richard MacCutchan28-Sep-19 5:37
protectorRichard MacCutchan28-Sep-19 5:37 
QuestionCCombobox MFC vc++ Pin
Member 1457555625-Sep-19 2:06
memberMember 1457555625-Sep-19 2:06 
AnswerRe: CCombobox MFC vc++ Pin
Richard MacCutchan25-Sep-19 2:38
protectorRichard MacCutchan25-Sep-19 2:38 
AnswerRe: CCombobox MFC vc++ Pin
_Flaviu25-Sep-19 2:55
member_Flaviu25-Sep-19 2:55 
AnswerRe: CCombobox MFC vc++ Pin
David Crow25-Sep-19 4:24
memberDavid Crow25-Sep-19 4:24 
GeneralRe: CCombobox MFC vc++ Pin
Gerry Schmitz25-Sep-19 20:43
mveGerry Schmitz25-Sep-19 20:43 
GeneralRe: CCombobox MFC vc++ Pin
David Crow26-Sep-19 6:16
memberDavid Crow26-Sep-19 6:16 
Gerry Schmitz wrote:

Tying the validation to the button "click" ("record" validation) is a lot simpler than context / field validation.
True, but that does not make it right.

Gerry Schmitz wrote:

In this case, he would have to "disable" the button (to "not allow a press"), then enable it when a selection was made.
Which is extremely easy. A "balloon tip" on the OK button briefly telling why it is disabled makes it even more intuitive.

Gerry Schmitz wrote:

The more fields, the more "options", the more complex the enabling / disabling logic.
Only if done incorrectly. Yes, a common approach is to sprinkle enable/disable code all over the place to do that very thing, but that's what adds unnecessarily complex (and possibly unmaintainable) code.

"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


QuestionHow to enable accessibility in chrome browser without installing firefox? Pin
malleshsil25-Sep-19 1:13
membermalleshsil25-Sep-19 1:13 
AnswerRe: How to enable accessibility in chrome browser without installing firefox? Pin
Richard MacCutchan25-Sep-19 1:20
protectorRichard MacCutchan25-Sep-19 1:20 
AnswerRe: How to enable accessibility in chrome browser without installing firefox? Pin
_Flaviu25-Sep-19 1:40
member_Flaviu25-Sep-19 1:40 
GeneralRe: How to enable accessibility in chrome browser without installing firefox? Pin
malleshsil25-Sep-19 2:03
membermalleshsil25-Sep-19 2:03 
GeneralRe: How to enable accessibility in chrome browser without installing firefox? Pin
_Flaviu25-Sep-19 2:10
member_Flaviu25-Sep-19 2:10 
GeneralRe: How to enable accessibility in chrome browser without installing firefox? Pin
_Flaviu26-Sep-19 20:39
member_Flaviu26-Sep-19 20:39 
QuestionMFC vc++ deleting column in list view control Pin
Member 1457555624-Sep-19 19:15
memberMember 1457555624-Sep-19 19:15 
AnswerRe: MFC vc++ deleting column in list view control Pin
Victor Nijegorodov24-Sep-19 21:51
memberVictor Nijegorodov24-Sep-19 21:51 
GeneralRe: MFC vc++ deleting column in list view control Pin
Member 1457555624-Sep-19 22:08
memberMember 1457555624-Sep-19 22:08 
QuestionX button in the Dialog MFC vc++ Pin
Member 1457555624-Sep-19 5:00
memberMember 1457555624-Sep-19 5:00 
AnswerRe: X button in the Dialog MFC vc++ Pin
Victor Nijegorodov24-Sep-19 5:18
memberVictor Nijegorodov24-Sep-19 5:18 
GeneralRe: X button in the Dialog MFC vc++ Pin
Member 1457555624-Sep-19 7:52
memberMember 1457555624-Sep-19 7:52 
SuggestionRe: X button in the Dialog MFC vc++ Pin
David Crow24-Sep-19 16:39
memberDavid Crow24-Sep-19 16:39 
AnswerRe: X button in the Dialog MFC vc++ Pin
Maximilien24-Sep-19 5:19
memberMaximilien24-Sep-19 5:19 
AnswerRe: X button in the Dialog MFC vc++ Pin
David Crow24-Sep-19 7:06
memberDavid Crow24-Sep-19 7:06 
QuestionEdit Control MFC vc++ Pin
Member 1457555623-Sep-19 20:47
memberMember 1457555623-Sep-19 20:47 
AnswerRe: Edit Control MFC vc++ Pin
Richard MacCutchan23-Sep-19 21:56
protectorRichard MacCutchan23-Sep-19 21:56 

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.