Click here to Skip to main content
15,895,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
Bo Hunter8-Oct-03 10:31
Bo Hunter8-Oct-03 10:31 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
Dave Harper8-Oct-03 11:36
Dave Harper8-Oct-03 11:36 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
ZoogieZork8-Oct-03 12:43
ZoogieZork8-Oct-03 12:43 
GeneralRe: PVOID pBuffer; access to data :confused: Pin
Dave Harper8-Oct-03 13:07
Dave Harper8-Oct-03 13:07 
QuestionConsole c++ global class? Pin
immanis8-Oct-03 7:06
immanis8-Oct-03 7:06 
AnswerRe: Console c++ global class? Pin
Ryan_Roberts8-Oct-03 7:14
Ryan_Roberts8-Oct-03 7:14 
GeneralRe: Console c++ global class? Pin
immanis8-Oct-03 18:03
immanis8-Oct-03 18:03 
AnswerRe: Console c++ global class? Pin
David Crow8-Oct-03 8:17
David Crow8-Oct-03 8:17 
immanis wrote:
Some people have suggested simply making all of my classes subclasses in the class world, I really dont want to do that...

Nor would you want to since nothing else (i.e., house, street, building, car) is a type of world.

One solution would be to mimic the way MFC does it. When you create a project, you have a CWinApp-derived class (e.g., CMyApp). Nothing else in the project is derived from CMyApp, yet you have access to CMyApp via functions like AfxGetApp(). Make sense?


Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

GeneralSplitter Window Control Pin
Lea Hayes8-Oct-03 6:39
Lea Hayes8-Oct-03 6:39 
GeneralRe: Splitter Window Control Pin
David Crow8-Oct-03 6:43
David Crow8-Oct-03 6:43 
GeneralPrinting size -bmp-help needed! Pin
radha vijay8-Oct-03 5:25
radha vijay8-Oct-03 5:25 
GeneralRe: Printing size -bmp-help needed! Pin
David Crow8-Oct-03 6:45
David Crow8-Oct-03 6:45 
GeneralRe: Printing size -bmp-help needed! Pin
Alex Dolpfin9-Oct-03 3:49
Alex Dolpfin9-Oct-03 3:49 
GeneralRe: One application for two Operating Systems Pin
vcplusplus8-Oct-03 5:23
vcplusplus8-Oct-03 5:23 
Generaldisplaying of string in CEdit or CRichEditCtrl Pin
Neelesh K J Jain8-Oct-03 5:00
Neelesh K J Jain8-Oct-03 5:00 
GeneralRe: displaying of string in CEdit or CRichEditCtrl Pin
Niall Barr8-Oct-03 5:10
professionalNiall Barr8-Oct-03 5:10 
GeneralRe: displaying of string in CEdit or CRichEditCtrl Pin
David Crow8-Oct-03 6:46
David Crow8-Oct-03 6:46 
GeneralPrint Preview - Text extent differs at various zoom states Pin
Andy Latham8-Oct-03 4:43
Andy Latham8-Oct-03 4:43 
GeneralOne application for two Operating Systems Pin
ThakurSaab8-Oct-03 4:41
ThakurSaab8-Oct-03 4:41 
GeneralRe: One application for two Operating Systems Pin
Niall Barr8-Oct-03 4:57
professionalNiall Barr8-Oct-03 4:57 
GeneralGet license key Pin
Anonymous8-Oct-03 4:05
Anonymous8-Oct-03 4:05 
GeneralRe: Get license key Pin
Wes Aday8-Oct-03 4:38
professionalWes Aday8-Oct-03 4:38 
GeneralRe: Get license key Pin
Anonymous8-Oct-03 5:02
Anonymous8-Oct-03 5:02 
GeneralTransparent winows using a bitmap and UpdateLayeredWindow - HELP pls! Pin
xela8-Oct-03 3:49
xela8-Oct-03 3:49 
GeneralCRichEditCtrl::SetParaFormat Pin
Ph@ntom8-Oct-03 3:46
Ph@ntom8-Oct-03 3:46 

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.