Click here to Skip to main content
16,007,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Cursor in edit box Pin
sonualex15-Oct-09 3:32
sonualex15-Oct-09 3:32 
AnswerRe: Cursor in edit box Pin
David Crow15-Oct-09 4:10
David Crow15-Oct-09 4:10 
GeneralRe: Cursor in edit box Pin
sonualex15-Oct-09 22:38
sonualex15-Oct-09 22:38 
GeneralRe: Cursor in edit box Pin
David Crow16-Oct-09 2:34
David Crow16-Oct-09 2:34 
GeneralRe: Cursor in edit box Pin
sonualex21-Oct-09 0:26
sonualex21-Oct-09 0:26 
QuestionRe: Cursor in edit box Pin
David Crow21-Oct-09 2:29
David Crow21-Oct-09 2:29 
AnswerRe: Cursor in edit box Pin
sonualex21-Oct-09 19:24
sonualex21-Oct-09 19:24 
QuestionRe: Cursor in edit box Pin
David Crow22-Oct-09 2:41
David Crow22-Oct-09 2:41 
AnswerRe: Cursor in edit box Pin
sonualex26-Oct-09 1:54
sonualex26-Oct-09 1:54 
AnswerRe: Cursor in edit box Pin
David Crow26-Oct-09 3:05
David Crow26-Oct-09 3:05 
GeneralRe: Cursor in edit box Pin
sonualex26-Oct-09 19:42
sonualex26-Oct-09 19:42 
GeneralRe: Cursor in edit box Pin
sonualex26-Oct-09 19:43
sonualex26-Oct-09 19:43 
QuestionVisual Studio 2008 Setup Project Question ? Pin
ERLN13-Oct-09 18:16
ERLN13-Oct-09 18:16 
QuestionDDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
ForNow13-Oct-09 13:47
ForNow13-Oct-09 13:47 
AnswerRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
Code-o-mat13-Oct-09 20:50
Code-o-mat13-Oct-09 20:50 
GeneralRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
ForNow14-Oct-09 3:34
ForNow14-Oct-09 3:34 
GeneralRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
Code-o-mat14-Oct-09 5:24
Code-o-mat14-Oct-09 5:24 
GeneralRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
ForNow14-Oct-09 7:05
ForNow14-Oct-09 7:05 
GeneralRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
Code-o-mat14-Oct-09 8:08
Code-o-mat14-Oct-09 8:08 
GeneralRe: DDX_CONTROL vs Create for Cricheditctrl and effects on Streaming Pin
ForNow14-Oct-09 12:21
ForNow14-Oct-09 12:21 
QuestionGet OS information Pin
includeh1013-Oct-09 10:52
includeh1013-Oct-09 10:52 
AnswerRe: Get OS information Pin
«_Superman_»13-Oct-09 11:18
professional«_Superman_»13-Oct-09 11:18 
QuestionBinary Tree traversal Pin
mood4813-Oct-09 6:39
mood4813-Oct-09 6:39 
AnswerRe: Binary Tree traversal Pin
David Crow13-Oct-09 7:03
David Crow13-Oct-09 7:03 
AnswerRe: Binary Tree traversal Pin
Alan Balkany15-Oct-09 4:40
Alan Balkany15-Oct-09 4:40 
First you need to learn how to draw lines on the screen. If you're using MFC, look at OnDraw and the CDC class. Then you can look at writing text if you need to do that.

For arranging the binary tree on the screen, a good approach is to space the leaf nodes out evenly horizontally. Then each parent node goes halfway between its sons, on the row above.

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.