473,473 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Where should I instantiate manager class?

I have a manager class which controls a couple of proxy classes and a few
persistent data classes and I am trying to intergrate these classes into an
MFC application using Visual C++.

Which GUI class should I use to instantiate the manager class? In a main
method in the application class? Or in the constructor of primary dialog box
(it will always be controlled by action events from this dialog box)?
Oct 12 '05 #1
2 1483
James wrote:
I have a manager class which controls a couple of proxy classes and a
few persistent data classes and I am trying to intergrate these
classes into an MFC application using Visual C++.

Which GUI class should I use to instantiate the manager class? In a
main method in the application class? Or in the constructor of
primary dialog box (it will always be controlled by action events
from this dialog box)?


This is not really a C++ language question, and as such is off-topic here. I
do have some thoughts on it, but they belong in microsoft.public.vc.mfc, so
I suggest asking there.

DW
Oct 12 '05 #2
"David White" <no@email.provided> wrote in message
news:WF******************@nasal.pacific.net.au...
James wrote:
I have a manager class which controls a couple of proxy classes and a
few persistent data classes and I am trying to intergrate these
classes into an MFC application using Visual C++.

Which GUI class should I use to instantiate the manager class? In a
main method in the application class? Or in the constructor of
primary dialog box (it will always be controlled by action events
from this dialog box)?


This is not really a C++ language question, and as such is off-topic here.
I
do have some thoughts on it, but they belong in microsoft.public.vc.mfc,
so
I suggest asking there.


OK, sorry.

I had a look for Visual C++ newsgroups but couldn't find any (didn't think
to search for MFC).
Oct 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Glenn Serpas | last post by:
I have Class A and Class B .. Class B has a private member that is a pointer to a Class A object. private: B *mypointer ; I instantiate the A object A* myobject new = A();
2
by: Merk | last post by:
I'm wanting to know if/how it would be possible to load a form based on a string that contains the name of the form (class). For example, instead of doing this: myForm f = new myForm();...
2
by: Pyenos | last post by:
class model:pass class view: model() class controller: model() I can instantiate clsss model from inside class view but I can't instantiate class model from inside controller, due to the...
10
by: babakandme | last post by:
Hi everybody:D I've a string that contains the name of a class. I want to instantiate from that class: string strategyNameStr; Strategy * strategy; // All of...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.