Click here to Skip to main content
15,914,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Modifying the limits of an integer edit control Pin
Joan M16-Oct-02 1:14
professionalJoan M16-Oct-02 1:14 
GeneralRe: Modifying the limits of an integer edit control Pin
jhwurmbach16-Oct-02 2:01
jhwurmbach16-Oct-02 2:01 
GeneralRe: Modifying the limits of an integer edit control Pin
adamUK16-Oct-02 2:02
adamUK16-Oct-02 2:02 
GeneralRe: Modifying the limits of an integer edit control Pin
Joan M16-Oct-02 2:11
professionalJoan M16-Oct-02 2:11 
GeneralRe: Modifying the limits of an integer edit control Pin
adamUK16-Oct-02 4:25
adamUK16-Oct-02 4:25 
GeneralRe: Modifying the limits of an integer edit control Pin
PJ Arends16-Oct-02 6:23
professionalPJ Arends16-Oct-02 6:23 
GeneralRe: Modifying the limits of an integer edit control Pin
adamUK16-Oct-02 9:29
adamUK16-Oct-02 9:29 
GeneralRe: Modifying the limits of an integer edit control Pin
jhwurmbach16-Oct-02 20:44
jhwurmbach16-Oct-02 20:44 
You COULD handle WM_PASTE also, this is where all clipboard pastes end up.
Just GetWindowText() the content into a local variable, call Default(), and validate the pasted text. If you want to revert to the old text you had before the insert, you can SetWindowText() it back from your local variable.

But EN_UPDATE is probably better.
GeneralRe: Modifying the limits of an integer edit control [corrected] Pin
Joaquín M López Muñoz16-Oct-02 3:34
Joaquín M López Muñoz16-Oct-02 3:34 
GeneralRe: Modifying the limits of an integer edit control Pin
Tomasz Sowinski16-Oct-02 3:44
Tomasz Sowinski16-Oct-02 3:44 
GeneralRe: Modifying the limits of an integer edit control Pin
jhwurmbach16-Oct-02 4:52
jhwurmbach16-Oct-02 4:52 
GeneralRe: Modifying the limits of an integer edit control Pin
Tomasz Sowinski16-Oct-02 5:03
Tomasz Sowinski16-Oct-02 5:03 
GeneralRe: Modifying the limits of an integer edit control Pin
PJ Arends16-Oct-02 6:16
professionalPJ Arends16-Oct-02 6:16 
GeneralFile Owner Question ...... SOS - SOS - SOS Pin
Qiang.Fu15-Oct-02 23:14
Qiang.Fu15-Oct-02 23:14 
GeneralRe: File Owner Question ...... SOS - SOS - SOS Pin
Andreas Saurwein16-Oct-02 4:10
Andreas Saurwein16-Oct-02 4:10 
GeneralRe: File Owner Question ...... SOS - SOS - SOS Pin
Qiang.Fu18-Oct-02 2:48
Qiang.Fu18-Oct-02 2:48 
Generalcalculation of runing time of program Pin
Anonymous15-Oct-02 22:35
Anonymous15-Oct-02 22:35 
GeneralRe: calculation of runing time of program Pin
l a u r e n16-Oct-02 4:46
l a u r e n16-Oct-02 4:46 
Generallicense Pin
helping hand15-Oct-02 21:11
helping hand15-Oct-02 21:11 
GeneralRe: license Pin
Christian Graus15-Oct-02 21:22
protectorChristian Graus15-Oct-02 21:22 
GeneralRe: license Pin
Jon Hulatt15-Oct-02 21:26
Jon Hulatt15-Oct-02 21:26 
GeneralRe: license Pin
Christian Graus15-Oct-02 21:38
protectorChristian Graus15-Oct-02 21:38 
GeneralRe: license Pin
Nish Nishant16-Oct-02 1:03
sitebuilderNish Nishant16-Oct-02 1:03 
GeneralRe: license Pin
Tomasz Sowinski15-Oct-02 23:37
Tomasz Sowinski15-Oct-02 23:37 
QuestionHow to export classes in ActiveX project? Pin
denkor15-Oct-02 21:05
denkor15-Oct-02 21:05 

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.