Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRichEditView Pin
Yulianto.26-Jan-05 23:10
Yulianto.26-Jan-05 23:10 
GeneralRe: RichEditView Pin
David Crow27-Jan-05 3:06
David Crow27-Jan-05 3:06 
QuestionHow to add Horizental Scroll in CCheckListBox Control Pin
zahid_ash26-Jan-05 22:41
zahid_ash26-Jan-05 22:41 
AnswerRe: How to add Horizental Scroll in CCheckListBox Control Pin
Ravi Bhavnani27-Jan-05 3:44
professionalRavi Bhavnani27-Jan-05 3:44 
GeneralUsing CArray From Dialog Box Pin
jw8126-Jan-05 22:40
jw8126-Jan-05 22:40 
GeneralRe: Using CArray From Dialog Box Pin
Abyss27-Jan-05 1:48
Abyss27-Jan-05 1:48 
GeneralRe: Using CArray From Dialog Box Pin
jw8127-Jan-05 3:00
jw8127-Jan-05 3:00 
GeneralRe: Using CArray From Dialog Box Pin
Abyss27-Jan-05 3:31
Abyss27-Jan-05 3:31 
In my opinion David (see bellow) proposed a simpler approach so in the CView member function where you construct the dialog pass the array to you dialog constructor. I recommend to use CPoint instead of your structure which stores x,y. The member function of the CView can be called via MFC message command.

1) Use CPoint in CArray to store points.
2) It is not a good idea to create public members in any class.
GeneralRe: Using CArray From Dialog Box Pin
David Crow27-Jan-05 3:13
David Crow27-Jan-05 3:13 
GeneralRe: Using CArray From Dialog Box Pin
jw8127-Jan-05 4:20
jw8127-Jan-05 4:20 
GeneralRe: Using CArray From Dialog Box Pin
David Crow27-Jan-05 4:29
David Crow27-Jan-05 4:29 
GeneralRe: Using CArray From Dialog Box Pin
jw8127-Jan-05 4:58
jw8127-Jan-05 4:58 
GeneralRe: Using CArray From Dialog Box Pin
David Crow27-Jan-05 5:20
David Crow27-Jan-05 5:20 
GeneralRe: Using CArray From Dialog Box Pin
jw8129-Jan-05 18:45
jw8129-Jan-05 18:45 
GeneralRe: Using CArray From Dialog Box Pin
David Crow31-Jan-05 3:12
David Crow31-Jan-05 3:12 
GeneralRe: Using CArray From Dialog Box Pin
jw813-Feb-05 5:01
jw813-Feb-05 5:01 
GeneralRe: Using CArray From Dialog Box Pin
David Crow3-Feb-05 5:37
David Crow3-Feb-05 5:37 
GeneralRe: Using CArray From Dialog Box Pin
jw813-Feb-05 5:40
jw813-Feb-05 5:40 
GeneralRe: Using CArray From Dialog Box Pin
jw8112-Feb-05 3:50
jw8112-Feb-05 3:50 
GeneralHexadecimal Pin
dex_ter1126-Jan-05 22:31
dex_ter1126-Jan-05 22:31 
GeneralRe: Hexadecimal Pin
toxcct26-Jan-05 23:38
toxcct26-Jan-05 23:38 
GeneralCreating xml file in vc++ Pin
imajit26-Jan-05 22:14
imajit26-Jan-05 22:14 
GeneralCreating xml file in vc++ Pin
Anonymous26-Jan-05 22:13
Anonymous26-Jan-05 22:13 
GeneralRe: Creating xml file in vc++ Pin
RicoH27-Jan-05 0:44
RicoH27-Jan-05 0:44 
Generalraw sockets Pin
2000ram26-Jan-05 22:05
2000ram26-Jan-05 22:05 

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.