Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to deny zero on CEdit Pin
virtualsamurai15-Sep-06 2:36
virtualsamurai15-Sep-06 2:36 
AnswerRe: How to deny zero on CEdit Pin
Hamid_RT15-Sep-06 2:54
Hamid_RT15-Sep-06 2:54 
GeneralRe: How to deny zero on CEdit Pin
virtualsamurai15-Sep-06 3:25
virtualsamurai15-Sep-06 3:25 
GeneralRe: How to deny zero on CEdit Pin
Zac Howland15-Sep-06 3:32
Zac Howland15-Sep-06 3:32 
GeneralRe: How to deny zero on CEdit Pin
virtualsamurai15-Sep-06 3:38
virtualsamurai15-Sep-06 3:38 
GeneralRe: How to deny zero on CEdit Pin
virtualsamurai15-Sep-06 3:44
virtualsamurai15-Sep-06 3:44 
GeneralRe: How to deny zero on CEdit Pin
Zac Howland15-Sep-06 3:54
Zac Howland15-Sep-06 3:54 
AnswerRe: How to deny zero on CEdit Pin
David Crow15-Sep-06 3:37
David Crow15-Sep-06 3:37 
If the maximum value for the edit control is 999, for example, use SetLimitText(3). If the maximum value is something else like 756, you can't keep 757 from being pasted or typed into the control, but you can disable the OK button. There are other possible solutions, but without more knowledge of the problem, those would be guesses at best.


"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.

"Judge not by the eye but by the heart." - Native American Proverb


AnswerRe: How to deny zero on CEdit Pin
Manfred Staiger15-Sep-06 3:40
Manfred Staiger15-Sep-06 3:40 
QuestionQuestion about Communication between Script and c Pin
Armor Wei15-Sep-06 2:29
Armor Wei15-Sep-06 2:29 
QuestionASCII85 Pin
ed7115515-Sep-06 2:28
ed7115515-Sep-06 2:28 
AnswerRe: ASCII85 Pin
Hamid_RT15-Sep-06 2:58
Hamid_RT15-Sep-06 2:58 
GeneralRe: ASCII85 Pin
ed7115515-Sep-06 4:11
ed7115515-Sep-06 4:11 
GeneralRe: ASCII85 Pin
Zac Howland15-Sep-06 5:29
Zac Howland15-Sep-06 5:29 
GeneralRe: ASCII85 Pin
ed7115515-Sep-06 6:09
ed7115515-Sep-06 6:09 
GeneralRe: ASCII85 Pin
Zac Howland15-Sep-06 6:14
Zac Howland15-Sep-06 6:14 
QuestionGIF Animation on Active X button Pin
anjalisukanth15-Sep-06 2:25
anjalisukanth15-Sep-06 2:25 
QuestionUser Check Pin
angelfirefox15-Sep-06 2:24
angelfirefox15-Sep-06 2:24 
QuestionKeyBoard shortcuts Pin
RockyJames15-Sep-06 1:52
RockyJames15-Sep-06 1:52 
AnswerRe: KeyBoard shortcuts Pin
Naveen15-Sep-06 1:55
Naveen15-Sep-06 1:55 
GeneralRe: KeyBoard shortcuts Pin
RockyJames15-Sep-06 1:59
RockyJames15-Sep-06 1:59 
GeneralRe: KeyBoard shortcuts Pin
Naveen15-Sep-06 2:08
Naveen15-Sep-06 2:08 
GeneralRe: KeyBoard shortcuts Pin
RockyJames15-Sep-06 2:32
RockyJames15-Sep-06 2:32 
QuestionCMDIChildWnd and CreateProcess Pin
Christopher Stratmann15-Sep-06 1:24
Christopher Stratmann15-Sep-06 1:24 
QuestionHunt for memory leaks Pin
Kleser15-Sep-06 1:17
Kleser15-Sep-06 1:17 

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.