Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Initiate Sending EMail from C++ Pin
Neville Franks10-Jan-05 8:51
Neville Franks10-Jan-05 8:51 
GeneralRe: Initiate Sending EMail from C++ Pin
Vancouver23-Jan-05 20:22
Vancouver23-Jan-05 20:22 
GeneralRe: Initiate Sending EMail from C++ Pin
PJ Arends10-Jan-05 9:04
professionalPJ Arends10-Jan-05 9:04 
GeneralRe: Initiate Sending EMail from C++ Pin
Vancouver23-Jan-05 20:20
Vancouver23-Jan-05 20:20 
GeneralRe: Initiate Sending EMail from C++ Pin
Shog910-Jan-05 9:36
sitebuilderShog910-Jan-05 9:36 
GeneralRe: Initiate Sending EMail from C++ Pin
Vancouver23-Jan-05 20:25
Vancouver23-Jan-05 20:25 
Questionlosing mouse events, help? Pin
DBob10-Jan-05 4:32
DBob10-Jan-05 4:32 
GeneralGlobal Variables in VC++ 6 Pin
guf-cryptkeeper10-Jan-05 4:23
guf-cryptkeeper10-Jan-05 4:23 
Hello.
I'm new in C++ Programming and want to write an application wich is able to process Bitmap files.
I try to use the MFC to get a Windows program.

I have a big Problem with my variables:
So I have a file called CADoc which loads the Bitmap in memory, a CAView which shows it in a Window and a CACutBmp (a modal Window) where the user should be able to give the top left corner and width amd height of the area he wants to process to cut a rectangle out of the bitmap.

CACutBmp is started in the CADoc file... so an Object of CACutBmp is builded and the source Data is given to the modal Window... But if i want to cut the Window it must be possible to give the data back to the CADoc Class...

Thats my problem. I dont find a way to do so.
Can somebody here explain me how to use global variables properly in a MFC Based Application ?
Is there a better way then global variables to pass Data from one Class to another ?

Excuse me if the question is unclear or too noobish, but i would really appreciate any suggestions to get this problem solved.

Best regards,
Crypt.
GeneralRe: Global Variables in VC++ 6 Pin
fklldsvs10-Jan-05 7:44
fklldsvs10-Jan-05 7:44 
GeneralRe: Global Variables in VC++ 6 Pin
guf-cryptkeeper10-Jan-05 22:53
guf-cryptkeeper10-Jan-05 22:53 
GeneralRe: Global Variables in VC++ 6 Pin
act_x10-Jan-05 8:11
act_x10-Jan-05 8:11 
GeneralRe: Global Variables in VC++ 6 Pin
guf-cryptkeeper10-Jan-05 22:58
guf-cryptkeeper10-Jan-05 22:58 
GeneralRe: Global Variables in VC++ 6 Pin
Iain Clarke, Warrior Programmer10-Jan-05 8:45
Iain Clarke, Warrior Programmer10-Jan-05 8:45 
GeneralRe: Global Variables in VC++ 6 Pin
guf-cryptkeeper13-Jan-05 3:10
guf-cryptkeeper13-Jan-05 3:10 
GeneralRe: Global Variables in VC++ 6 Pin
Iain Clarke, Warrior Programmer13-Jan-05 4:38
Iain Clarke, Warrior Programmer13-Jan-05 4:38 
GeneralRe: Global Variables in VC++ 6 Pin
guf-cryptkeeper11-Jan-05 23:39
guf-cryptkeeper11-Jan-05 23:39 
GeneralBind a EDIT CONTROL or DATACOMBOCONTROL Pin
elo471110-Jan-05 3:44
elo471110-Jan-05 3:44 
GeneralRe: Urgent help required - Window minimize/restore problem when process priority class is set to HIGH Pin
Shog910-Jan-05 9:43
sitebuilderShog910-Jan-05 9:43 
GeneralWriting to Crystal Report RPT file using TTX file Pin
ruturaj10-Jan-05 0:50
ruturaj10-Jan-05 0:50 
GeneralCustom App Wizard Problem Pin
deep_198110-Jan-05 0:40
deep_198110-Jan-05 0:40 
GeneralI'm looking for algorithms Pin
Rassul Yunussov9-Jan-05 23:42
Rassul Yunussov9-Jan-05 23:42 
GeneralRe: I'm looking for algorithms Pin
Arsalan Malik10-Jan-05 0:19
Arsalan Malik10-Jan-05 0:19 
GeneralRe: I'm looking for algorithms Pin
Antony M Kancidrowski10-Jan-05 6:43
Antony M Kancidrowski10-Jan-05 6:43 
GeneralCorba - TAO (Windows C++) Pin
sweep1239-Jan-05 23:36
sweep1239-Jan-05 23:36 
QuestionControl like this ? Pin
pc_dev9-Jan-05 23:03
pc_dev9-Jan-05 23:03 

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.