Click here to Skip to main content
15,911,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDraggable Rectangle Pin
poiut28-Dec-04 7:09
poiut28-Dec-04 7:09 
GeneralConnecting with IOCompletionPort Pin
Menny Even Danan28-Dec-04 7:04
Menny Even Danan28-Dec-04 7:04 
QuestionHow to serialize CTreeCtrl? Pin
Tanmay Sathe28-Dec-04 6:57
Tanmay Sathe28-Dec-04 6:57 
GeneralEliminating Flickering when resizing a window Pin
Member 148659428-Dec-04 6:52
Member 148659428-Dec-04 6:52 
GeneralRe: Eliminating Flickering when resizing a window Pin
SteveKing28-Dec-04 7:00
SteveKing28-Dec-04 7:00 
GeneralRe: Eliminating Flickering when resizing a window Pin
Member 148659428-Dec-04 7:26
Member 148659428-Dec-04 7:26 
GeneralAuto-scroll a CDialog Pin
DanYELL28-Dec-04 6:00
DanYELL28-Dec-04 6:00 
GeneralRe: Auto-scroll a CDialog Pin
Gary R. Wheeler29-Dec-04 1:32
Gary R. Wheeler29-Dec-04 1:32 
I'll assume you've got the scrolling working to your satisfaction. When you use the scroll bars, the contents of the dialog scroll appropriately.

DanYELL wrote:
if the user is in a certain
edit box, that it scroll to center itself rather than
making the user scroll down


You can do this by handling the EN_SETFOCUS[^] notification from the edit controls in the parent dialog. EN_SETFOCUS is sent by an edit control to its parent window (the dialog, in this case) when it receives the focus. In the parent dialog, you can use this to scroll the dialog so that the edit control is in view.


Software Zen: delete this;
GeneralUsing MapPoint classes generated from Type Library Pin
BlackDice28-Dec-04 4:55
BlackDice28-Dec-04 4:55 
GeneralCode-a-phone Pin
David Crow28-Dec-04 4:18
David Crow28-Dec-04 4:18 
GeneralRe: Code-a-phone Pin
Tom Wright29-Dec-04 4:19
Tom Wright29-Dec-04 4:19 
GeneralRe: Code-a-phone Pin
David Crow29-Dec-04 4:45
David Crow29-Dec-04 4:45 
Questionwhat is the error in the following code? (not giving the required output). Pin
babur khan28-Dec-04 3:38
babur khan28-Dec-04 3:38 
AnswerRe: what is the error in the following code? (not giving the required output). Pin
El Corazon28-Dec-04 4:15
El Corazon28-Dec-04 4:15 
GeneralRe: what is the error in the following code? (not giving the required output). Pin
Neville Franks28-Dec-04 9:09
Neville Franks28-Dec-04 9:09 
GeneralFinding type size Pin
Franz Klein28-Dec-04 2:21
Franz Klein28-Dec-04 2:21 
GeneralRe: Finding type size Pin
Chris Losinger28-Dec-04 3:08
professionalChris Losinger28-Dec-04 3:08 
GeneralRe: Finding type size Pin
Gary R. Wheeler28-Dec-04 4:35
Gary R. Wheeler28-Dec-04 4:35 
GeneralNewest file on ftp Pin
Dariusz M. Mikulski28-Dec-04 1:39
Dariusz M. Mikulski28-Dec-04 1:39 
GeneralProgress Bar in StatusBar Pin
Neelesh K J Jain28-Dec-04 1:04
Neelesh K J Jain28-Dec-04 1:04 
GeneralHide Internet Explorer Menu Bars and Toolbars Pin
Member 24341328-Dec-04 0:28
Member 24341328-Dec-04 0:28 
GeneralRe: Hide Internet Explorer Menu Bars and Toolbars Pin
gsaigopal28-Dec-04 0:31
sussgsaigopal28-Dec-04 0:31 
GeneralRe: Hide Internet Explorer Menu Bars and Toolbars Pin
Member 24341328-Dec-04 16:04
Member 24341328-Dec-04 16:04 
GeneralRe: Hide Internet Explorer Menu Bars and Toolbars Pin
Alok Bhardwaj29-Dec-04 19:16
Alok Bhardwaj29-Dec-04 19:16 
GeneralRe: Hide Internet Explorer Menu Bars and Toolbars Pin
Alok Bhardwaj29-Dec-04 19:35
Alok Bhardwaj29-Dec-04 19:35 

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.