Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Edit Controls Pin
Christian Graus3-Jan-02 11:14
protectorChristian Graus3-Jan-02 11:14 
QuestionWhen I put CD in drive, how do make it automatically execute setup.exe? Pin
DanYELL3-Jan-02 9:37
DanYELL3-Jan-02 9:37 
AnswerRe: When I put CD in drive, how do make it automatically execute setup.exe? Pin
Greven3-Jan-02 9:42
Greven3-Jan-02 9:42 
GeneralRe: When I put CD in drive, how do make it automatically execute setup.exe? Pin
Nish Nishant3-Jan-02 16:38
sitebuilderNish Nishant3-Jan-02 16:38 
AnswerRe: When I put CD in drive, how do make it automatically execute setup.exe? Pin
Carlos Antollini3-Jan-02 9:55
Carlos Antollini3-Jan-02 9:55 
AnswerRe: When I put CD in drive, how do make it automatically execute setup.exe? Pin
Ravi Bhavnani3-Jan-02 17:29
professionalRavi Bhavnani3-Jan-02 17:29 
GeneralUsing NNTP either thu Outlook Express or solo Pin
VanHlebar3-Jan-02 8:16
VanHlebar3-Jan-02 8:16 
GeneralCasting from within a class Pin
Greven3-Jan-02 8:04
Greven3-Jan-02 8:04 
Is there an easy way to get a subclass out of a class from within the class?
This would be easiest explained in code Poke tongue | ;-P
class A;
class B: public A;

From within B, I need to get a temporary variable of the subclass A. The subclass is setup with void operator=(A& a); None of them are pointers, just ... can't remember the term right now... I access them with a . not a -> man my memory is going... Anyway, I've tried this:
A a;
a = (A)this;
and it of course doesn't work. How can I grab the data from the subclass?

What I'm doing is implementing a rotation function for the nice CPolygon class that Chris wrote (*very* nice class btw). And I want to make a temp copy of the CPolygon data so I don't loose the data as the poly rotates. (If you rotate a polygon to much it colapses in on itself due to inaccuracy) So I want to make a backup copy of the data, rotate that data and then use it. But I can't grab the data... What do I do?!? Argh!

Programming in binary is as easy as 01 10 11.
GeneralRe: Casting from within a class Pin
Michael Dunn3-Jan-02 8:36
sitebuilderMichael Dunn3-Jan-02 8:36 
GeneralRe: Casting from within a class Pin
Greven3-Jan-02 9:41
Greven3-Jan-02 9:41 
GeneralRe: Casting from within a class Pin
Todd Smith3-Jan-02 14:37
Todd Smith3-Jan-02 14:37 
GeneralDirectPlay 8+ Pin
hollowMedia [0xFA7E]3-Jan-02 7:56
hollowMedia [0xFA7E]3-Jan-02 7:56 
GeneralRe: DirectPlay 8+ Pin
Christian Graus3-Jan-02 9:23
protectorChristian Graus3-Jan-02 9:23 
GeneralRe: DirectPlay 8+ Pin
hollowMedia [0xFA7E]3-Jan-02 14:58
hollowMedia [0xFA7E]3-Jan-02 14:58 
GeneralRe: DirectPlay 8+ Pin
Vladimir Georgiev4-Jan-02 10:20
Vladimir Georgiev4-Jan-02 10:20 
GeneralRe: DirectPlay 8+ Pin
Vladimir Georgiev4-Jan-02 10:20
Vladimir Georgiev4-Jan-02 10:20 
GeneralRECURSING THROUGH A SUBDIRECTORY Pin
Maverick3-Jan-02 7:40
Maverick3-Jan-02 7:40 
GeneralRe: RECURSING THROUGH A SUBDIRECTORY Pin
Jon Sagara3-Jan-02 7:44
Jon Sagara3-Jan-02 7:44 
GeneralRe: RECURSING THROUGH A SUBDIRECTORY Pin
Nemanja Trifunovic3-Jan-02 7:47
Nemanja Trifunovic3-Jan-02 7:47 
GeneralBSTR Conversion Pin
3-Jan-02 7:13
suss3-Jan-02 7:13 
GeneralRe: BSTR Conversion Pin
Ernest Laurentin3-Jan-02 8:11
Ernest Laurentin3-Jan-02 8:11 
GeneralRe: BSTR Conversion Pin
James R. Twine3-Jan-02 8:45
James R. Twine3-Jan-02 8:45 
GeneralRe: BSTR Conversion Pin
Philip Patrick3-Jan-02 9:17
professionalPhilip Patrick3-Jan-02 9:17 
GeneralRe: BSTR Conversion Pin
Bill Wilson3-Jan-02 10:24
Bill Wilson3-Jan-02 10:24 
GeneralRe: BSTR Conversion Pin
James R. Twine3-Jan-02 10:40
James R. Twine3-Jan-02 10:40 

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.