python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Sendmessage from subclassed control (CEDIT) to parent window
I have subclassed a CEdit control (CCheckeEdit).
I need to catch ON_CHANGE for this class and send the message to dialog (catch EN_CHANGE in dialog, too).
In subclassed CCheckeEdit, I have followed ho...

Michal Hadraba
Votes: 0
Answers: 1
How deny to exit from CEdit
I have subclassed CEdit clas (CMyEdit) and I am validating continuously user input througth ON_CHAR message. ON_CHAR procedure sets CMyEdit.isOK member variable to true or false.
Is there any way how ...

Michal Hadraba
Votes: 0
Answers: 0
CEdit SetFont always creates a GDI HFONT handle, even for shared fonts
In our C++/MFC MDI application, each MDI client window contains a form based on CDialog that can contain very many controls, even hundreds of them. We have noticed that we run out of GDI handles relat...
Timur Amirov
Votes: 0
Answers: 0
User Subclassed class from CEdit value validation if DDX_Text is use
I have my own class (CMyEdit) subclassed from CEdit with own validation procedure.
I hook events ON_CHAR and ON_UPDATE and validate user input.
If the input is valid, attribute CMyEdit::isOk is switch...

Michal Hadraba
Votes: 0
Answers: 0