Click here to Skip to main content
15,921,716 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow do i switch between two Dialogs Pin
Member 4048131-Jul-03 16:33
Member 4048131-Jul-03 16:33 
AnswerRe: How do i switch between two Dialogs Pin
Toni781-Jul-03 18:30
Toni781-Jul-03 18:30 
GeneralHeap Class Pin
Ken Mazaika1-Jul-03 15:56
Ken Mazaika1-Jul-03 15:56 
GeneralRe: Heap Class Pin
Dave Bryant1-Jul-03 16:13
Dave Bryant1-Jul-03 16:13 
GeneralRe: Heap Class Pin
Ken Mazaika1-Jul-03 16:25
Ken Mazaika1-Jul-03 16:25 
GeneralRe: Heap Class Pin
Dave Bryant1-Jul-03 16:27
Dave Bryant1-Jul-03 16:27 
GeneralRe: Heap Class Pin
Ken Mazaika1-Jul-03 16:39
Ken Mazaika1-Jul-03 16:39 
GeneralRe: Heap Class Pin
Ryan Binns1-Jul-03 16:41
Ryan Binns1-Jul-03 16:41 
kmaz wrote:
I get memory errors

Nope. You won't get memory errors. The compiler will tell you you can't access them. The reason is because they are private members. The default access for members in a class is private, unless you specify public or protected access.
class CFoo
{
public:
   int foo;
   int bar;
   int baz;
};
CFoo *pFoo = new CFoo;
pFoo->foo = 1;
pFoo->bar = 2;
This should work just fine.

Ryan

Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)

Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

QuestionHow to cover a video window by a transparent bitmap Pin
Chen Jiadong1-Jul-03 15:05
Chen Jiadong1-Jul-03 15:05 
Generalslider update problem. Pin
irvine1-Jul-03 15:03
irvine1-Jul-03 15:03 
Generaldelete operation Pin
act_x1-Jul-03 12:00
act_x1-Jul-03 12:00 
GeneralRe: delete operation Pin
Dave Bryant1-Jul-03 12:38
Dave Bryant1-Jul-03 12:38 
GeneralWin2000 MFC problem *LONG* Pin
djordj1-Jul-03 11:27
djordj1-Jul-03 11:27 
GeneralRe: Win2000 MFC problem *LONG* Pin
Toni781-Jul-03 19:50
Toni781-Jul-03 19:50 
QuestionHow to scroll a toolbar? Pin
ElizabethC1-Jul-03 11:14
ElizabethC1-Jul-03 11:14 
AnswerRe: How to scroll a toolbar? Pin
Michael Dunn1-Jul-03 12:55
sitebuilderMichael Dunn1-Jul-03 12:55 
GeneralRe: How to scroll a toolbar? Pin
ElizabethC1-Jul-03 13:18
ElizabethC1-Jul-03 13:18 
GeneralRe: How to scroll a toolbar? Pin
Michael Dunn1-Jul-03 19:49
sitebuilderMichael Dunn1-Jul-03 19:49 
GeneralRe: How to scroll a toolbar? Pin
ElizabethC2-Jul-03 8:24
ElizabethC2-Jul-03 8:24 
Generaltimer Pin
ej_wolf1-Jul-03 11:02
sussej_wolf1-Jul-03 11:02 
GeneralRe: timer Pin
valikac1-Jul-03 11:05
valikac1-Jul-03 11:05 
GeneralRe: timer Pin
Dave Bryant1-Jul-03 11:23
Dave Bryant1-Jul-03 11:23 
GeneralRandomized ... Pin
Sunnygirl1-Jul-03 10:41
Sunnygirl1-Jul-03 10:41 
GeneralRe: Randomized ... Pin
David Crow1-Jul-03 11:07
David Crow1-Jul-03 11:07 
GeneralRe: Randomized ... Pin
Sunnygirl2-Jul-03 11:09
Sunnygirl2-Jul-03 11:09 

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.