Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Calculating Age in days Pin
cmk20-Feb-07 8:02
cmk20-Feb-07 8:02 
QuestionBetter HEX to INT conversion Pin
Llasus18-Feb-07 14:33
Llasus18-Feb-07 14:33 
AnswerRe: Better HEX to INT conversion Pin
Chris Losinger18-Feb-07 15:26
professionalChris Losinger18-Feb-07 15:26 
GeneralRe: Better HEX to INT conversion Pin
Llasus18-Feb-07 15:56
Llasus18-Feb-07 15:56 
QuestionWallpaper changer in MFC Pin
kubapl1818-Feb-07 9:07
kubapl1818-Feb-07 9:07 
AnswerRe: Wallpaper changer in MFC Pin
Mark Salsbery18-Feb-07 10:01
Mark Salsbery18-Feb-07 10:01 
AnswerRe: Wallpaper changer in MFC Pin
Rick York18-Feb-07 11:32
mveRick York18-Feb-07 11:32 
QuestionProblem with SetRect Pin
CoffeeAddict1918-Feb-07 8:45
CoffeeAddict1918-Feb-07 8:45 
I'm trying to implement a CEdit box that has a horizantal scroll bar that will fill up to 1000 characters at a time. I used SetLimitText to set the limit to 1000 characters. The problem cropped up when I tried to use SetRect(). After I called the function it would not let me place the cursor in the box anymore. I can still call ReplaceSel() and place text in the box that way, but I cannot type it in with the keyboard. Some of the code:

<br />
SearchStringEditBoxPtr->SetLimitText(1000);<br />
RECT EditBoxDimensions;<br />
EditBoxDimensions.left = 0;<br />
EditBoxDimensions.top = 0;<br />
EditBoxDimensions.right = 3000;<br />
EditBoxDimensions.bottom = 12;<br />
SearchStringEditBoxPtr->SetRect(&EditBoxDimensions);<br />


Resource defenition statement for the edit box:

<br />
EDITTEXT IDC_DLGS_SEARCHSTRING_STRINGTEXT, 83, 190, 200, 24, ES_MULTILINE | WS_HSCROLL<br />


I would appreciate any help. -John
AnswerRe: Problem with SetRect Pin
Mark Salsbery18-Feb-07 8:58
Mark Salsbery18-Feb-07 8:58 
GeneralRe: Problem with SetRect Pin
CoffeeAddict1918-Feb-07 9:11
CoffeeAddict1918-Feb-07 9:11 
GeneralRe: Problem with SetRect Pin
Mark Salsbery18-Feb-07 9:22
Mark Salsbery18-Feb-07 9:22 
GeneralRe: Problem with SetRect Pin
CoffeeAddict1918-Feb-07 9:38
CoffeeAddict1918-Feb-07 9:38 
GeneralRe: Problem with SetRect Pin
Mark Salsbery18-Feb-07 9:44
Mark Salsbery18-Feb-07 9:44 
QuestionVirtual Midi Output Port... Pin
aquawicket18-Feb-07 3:54
aquawicket18-Feb-07 3:54 
GeneralVC++ linker error Pin
Member 384040618-Feb-07 3:42
Member 384040618-Feb-07 3:42 
GeneralRe: VC++ linker error Pin
Waldermort18-Feb-07 3:47
Waldermort18-Feb-07 3:47 
GeneralRe: VC++ linker error Pin
Hamid_RT18-Feb-07 6:25
Hamid_RT18-Feb-07 6:25 
GeneralRe: VC++ linker error Pin
Hamid_RT18-Feb-07 4:55
Hamid_RT18-Feb-07 4:55 
GeneralRe: VC++ linker error Pin
Jeffrey Walton18-Feb-07 5:44
Jeffrey Walton18-Feb-07 5:44 
GeneralRe: VC++ linker error Pin
cruppstahl18-Feb-07 7:35
cruppstahl18-Feb-07 7:35 
NewsCode Snippets Manager Pin
marvviki18-Feb-07 2:42
marvviki18-Feb-07 2:42 
Questionmemory mapped I/O and private copies Pin
cruppstahl18-Feb-07 2:28
cruppstahl18-Feb-07 2:28 
AnswerRe: memory mapped I/O and private copies Pin
Waldermort18-Feb-07 3:17
Waldermort18-Feb-07 3:17 
GeneralRe: memory mapped I/O and private copies Pin
cruppstahl18-Feb-07 7:23
cruppstahl18-Feb-07 7:23 
QuestionHow to load text file into an array of structures..? [modified] Pin
Software_Specialist18-Feb-07 2:06
Software_Specialist18-Feb-07 2:06 

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.