473,583 Members | 3,114 Online
Bytes | Software Development & Data Engineering Community
+ 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 1487
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.publi c.vc.mfc, so
I suggest asking there.

DW
Oct 12 '05 #2
"David White" <no@email.provi ded> wrote in message
news:WF******** **********@nasa l.pacific.net.a u...
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.publi c.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
2366
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
3285
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(); f.Show(); I would like to load the form when its class name is in a string variable
2
1332
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 nature of python interpreter.
10
1375
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 the following classes are derived from Strategy. // and """ strategyNameStr """ contains the name of one of the
1
7936
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8195
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6581
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5701
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5375
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3820
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2334
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 we have to send another system
1
1434
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1158
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.