Click here to Skip to main content
15,913,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to recognize word from sentence? Pin
wey_horng17-Sep-02 5:12
wey_horng17-Sep-02 5:12 
AnswerRe: how to recognize word from sentence? Pin
Shaun Wilde17-Sep-02 5:20
Shaun Wilde17-Sep-02 5:20 
GeneralRe: how to recognize word from sentence? Pin
Bart Robeyns17-Sep-02 5:30
Bart Robeyns17-Sep-02 5:30 
GeneralRe: how to recognize word from sentence? Pin
Shaun Wilde17-Sep-02 5:39
Shaun Wilde17-Sep-02 5:39 
GeneralRe: how to recognize word from sentence? Pin
wey_horng17-Sep-02 7:30
wey_horng17-Sep-02 7:30 
GeneralRe: how to recognize word from sentence? Pin
Ryan B.17-Sep-02 9:01
Ryan B.17-Sep-02 9:01 
Generalparsing word from sentence? Pin
wey_horng18-Sep-02 4:05
wey_horng18-Sep-02 4:05 
Generalscrollbars in a richedit Pin
ns17-Sep-02 4:36
ns17-Sep-02 4:36 
I was positioning my richedit so that it hugged the bottom edge of my UI at all times using (in OnSize):

m_editright1.MoveWindow(cx - 200, 390 - VScrollDistance, 200, <code>cy-350+ VScrollDistance</code>);


This works well, but the edge hugged is the visible bottom edge, not the region hidden by the scrollbars of my MFC MDI app. (Strange fact: If I scroll down completely and resize it does elongate (beyond?) to the real bottom edge). SO in order to make sure I definitely get the bottom hugging behavior (with or without scrolling and resizing) I made the box superlong:

cy+ VScrollDistance.
The problem is that the vertical scrollbars never develop for the control even if I shrink my UI to be less tall and the text gets obscured. If it truly hugged the bottom at all times, I feel the scrollbars would develop. Any ideas on how I can get it to align itself along the TRUE bottom edge of the UI and not just the visible region right from the start.( I do this positioning in the OnSize event which seems to run after OnInitialUpdate, so any positioning I do in the latter will be overridden)?

Thanks,
ns
GeneralWord in C++ Pin
insanely42017-Sep-02 4:24
insanely42017-Sep-02 4:24 
GeneralRe: Word in C++ Pin
jmkhael17-Sep-02 6:48
jmkhael17-Sep-02 6:48 
GeneralRe: Word in C++ Pin
Bill Wilson17-Sep-02 10:27
Bill Wilson17-Sep-02 10:27 
GeneralRe: Word in C++ Pin
insanely42017-Sep-02 11:00
insanely42017-Sep-02 11:00 
GeneralWinSock: How do I get the Host Name Pin
Robert Scheckle17-Sep-02 3:44
Robert Scheckle17-Sep-02 3:44 
GeneralRe: WinSock: How do I get the Host Name Pin
Bart Robeyns17-Sep-02 4:43
Bart Robeyns17-Sep-02 4:43 
GeneralWorkspace Model Pin
Ryan B.17-Sep-02 3:41
Ryan B.17-Sep-02 3:41 
GeneralRe: Workspace Model Pin
Ryan B.17-Sep-02 8:54
Ryan B.17-Sep-02 8:54 
GeneralRe: Workspace Model Pin
Bill Wilson17-Sep-02 11:21
Bill Wilson17-Sep-02 11:21 
Questionhow to get input from user Pin
ns17-Sep-02 3:04
ns17-Sep-02 3:04 
AnswerRe: how to get input from user Pin
Ravi Bhavnani17-Sep-02 3:31
professionalRavi Bhavnani17-Sep-02 3:31 
GeneralRe: how to get input from user Pin
ns17-Sep-02 3:38
ns17-Sep-02 3:38 
GeneralRe: how to get input from user Pin
Ravi Bhavnani17-Sep-02 3:36
professionalRavi Bhavnani17-Sep-02 3:36 
GeneralRe: how to get input from user Pin
ns17-Sep-02 3:59
ns17-Sep-02 3:59 
QuestionBIG OR LITTLE QUESTION? Pin
ZBUILDER17-Sep-02 2:46
ZBUILDER17-Sep-02 2:46 
AnswerRe: BIG OR LITTLE QUESTION? Pin
jhwurmbach17-Sep-02 2:54
jhwurmbach17-Sep-02 2:54 
AnswerRe: BIG OR LITTLE QUESTION? Pin
Bart Robeyns17-Sep-02 2:57
Bart Robeyns17-Sep-02 2:57 

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.