Click here to Skip to main content
15,897,181 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Member 1180360728-Sep-19 3:37
Member 1180360728-Sep-19 3:37 
GeneralRe: cannot change rgrc0 with wm_nccalcsize Pin
Richard MacCutchan28-Sep-19 4:37
mveRichard MacCutchan28-Sep-19 4:37 
QuestionCCombobox MFC vc++ Pin
Member 1457555625-Sep-19 1:06
Member 1457555625-Sep-19 1:06 
AnswerRe: CCombobox MFC vc++ Pin
Richard MacCutchan25-Sep-19 1:38
mveRichard MacCutchan25-Sep-19 1:38 
AnswerRe: CCombobox MFC vc++ Pin
_Flaviu25-Sep-19 1:55
_Flaviu25-Sep-19 1:55 
AnswerRe: CCombobox MFC vc++ Pin
David Crow25-Sep-19 3:24
David Crow25-Sep-19 3:24 
GeneralRe: CCombobox MFC vc++ Pin
Gerry Schmitz25-Sep-19 19:43
mveGerry Schmitz25-Sep-19 19:43 
GeneralRe: CCombobox MFC vc++ Pin
David Crow26-Sep-19 5:16
David Crow26-Sep-19 5: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
Mallesh Kumar25-Sep-19 0:13
Mallesh Kumar25-Sep-19 0:13 
AnswerRe: How to enable accessibility in chrome browser without installing firefox? Pin
Richard MacCutchan25-Sep-19 0:20
mveRichard MacCutchan25-Sep-19 0:20 
AnswerRe: How to enable accessibility in chrome browser without installing firefox? Pin
_Flaviu25-Sep-19 0:40
_Flaviu25-Sep-19 0:40 
GeneralRe: How to enable accessibility in chrome browser without installing firefox? Pin
Mallesh Kumar25-Sep-19 1:03
Mallesh Kumar25-Sep-19 1:03 
GeneralRe: How to enable accessibility in chrome browser without installing firefox? Pin
_Flaviu25-Sep-19 1:10
_Flaviu25-Sep-19 1:10 
GeneralRe: How to enable accessibility in chrome browser without installing firefox? Pin
_Flaviu26-Sep-19 19:39
_Flaviu26-Sep-19 19:39 
QuestionMFC vc++ deleting column in list view control Pin
Member 1457555624-Sep-19 18:15
Member 1457555624-Sep-19 18:15 
AnswerRe: MFC vc++ deleting column in list view control Pin
Victor Nijegorodov24-Sep-19 20:51
Victor Nijegorodov24-Sep-19 20:51 
GeneralRe: MFC vc++ deleting column in list view control Pin
Member 1457555624-Sep-19 21:08
Member 1457555624-Sep-19 21:08 
QuestionX button in the Dialog MFC vc++ Pin
Member 1457555624-Sep-19 4:00
Member 1457555624-Sep-19 4:00 
AnswerRe: X button in the Dialog MFC vc++ Pin
Victor Nijegorodov24-Sep-19 4:18
Victor Nijegorodov24-Sep-19 4:18 
GeneralRe: X button in the Dialog MFC vc++ Pin
Member 1457555624-Sep-19 6:52
Member 1457555624-Sep-19 6:52 
SuggestionRe: X button in the Dialog MFC vc++ Pin
David Crow24-Sep-19 15:39
David Crow24-Sep-19 15:39 
AnswerRe: X button in the Dialog MFC vc++ Pin
Maximilien24-Sep-19 4:19
Maximilien24-Sep-19 4:19 
AnswerRe: X button in the Dialog MFC vc++ Pin
David Crow24-Sep-19 6:06
David Crow24-Sep-19 6:06 
QuestionEdit Control MFC vc++ Pin
Member 1457555623-Sep-19 19:47
Member 1457555623-Sep-19 19:47 
AnswerRe: Edit Control MFC vc++ Pin
Richard MacCutchan23-Sep-19 20:56
mveRichard MacCutchan23-Sep-19 20: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.