Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generali works But Now a Cross (close) Button in System Menu Not Works Pin
Zeeshan Bilal9-Jul-04 1:54
Zeeshan Bilal9-Jul-04 1:54 
GeneralRe: i works But Now a Cross (close) Button in System Menu Not Works Pin
Johan Rosengren9-Jul-04 4:01
Johan Rosengren9-Jul-04 4:01 
GeneralRe: i works But Now a Cross (close) Button in System Menu Not Works Pin
PJ Arends10-Jul-04 12:44
professionalPJ Arends10-Jul-04 12:44 
GeneralRe: Dialog Disappear on pressing Escape key Pin
Anonymous9-Jul-04 1:24
Anonymous9-Jul-04 1:24 
GeneralRe: Dialog Disappear on pressing Escape key Pin
Antony M Kancidrowski9-Jul-04 2:43
Antony M Kancidrowski9-Jul-04 2:43 
GeneralNT to XP upgrade Pin
ganesan balachandar9-Jul-04 0:09
ganesan balachandar9-Jul-04 0:09 
GeneralRe: NT to XP upgrade Pin
Antony M Kancidrowski9-Jul-04 0:54
Antony M Kancidrowski9-Jul-04 0:54 
Generalstructures Pin
Anonymous8-Jul-04 23:38
Anonymous8-Jul-04 23:38 
i have declared a public structure in a class. and want to use the same in another class. Following is the how i tried ---

class Aclass:public CTrayDialog
{
public:
struct mine{
int days[7];
int mins;
}count;
.......
.......
}

In the initDialog of the other class
Bool Bclass::OnInitDialog()
{
.......
Aclass *a = new Aclass;
int x = a->count.days[0]
.....
}

Now x is not getting the correct value.
rather i think i m not correctly accessing the structure count declared in class Aclass.

need some help in these regard, so that i can fix the problem.


GeneralRe: structures:::accessing structure of arrays through a class Pin
Anonymous9-Jul-04 0:49
Anonymous9-Jul-04 0:49 
GeneralRe: structures:::accessing structure of arrays through a class Pin
Maximilien9-Jul-04 0:56
Maximilien9-Jul-04 0:56 
GeneralRe: structures:::accessing structure of arrays through a class Pin
Johan Rosengren9-Jul-04 1:03
Johan Rosengren9-Jul-04 1:03 
GeneralRe: structures [modified] Pin
Antony M Kancidrowski9-Jul-04 1:12
Antony M Kancidrowski9-Jul-04 1:12 
GeneralRe: structures [modified] Pin
Anonymous9-Jul-04 1:21
Anonymous9-Jul-04 1:21 
GeneralRe: structures [modified] Pin
Maximilien9-Jul-04 1:28
Maximilien9-Jul-04 1:28 
GeneralRe: structures [modified] Pin
Antony M Kancidrowski9-Jul-04 2:28
Antony M Kancidrowski9-Jul-04 2:28 
Generalcrystal reports alternatives Pin
Irish_GUI8-Jul-04 23:29
Irish_GUI8-Jul-04 23:29 
GeneralRe: crystal reports alternatives Pin
Antony M Kancidrowski9-Jul-04 6:02
Antony M Kancidrowski9-Jul-04 6:02 
Generaldiscussion point: pointers, memory allocations Pin
V.8-Jul-04 22:31
professionalV.8-Jul-04 22:31 
GeneralRe: discussion point: pointers, memory allocations Pin
Johan Rosengren9-Jul-04 1:07
Johan Rosengren9-Jul-04 1:07 
GeneralRe: discussion point: pointers, memory allocations Pin
palbano9-Jul-04 5:19
palbano9-Jul-04 5:19 
GeneralLearning C and getting an Errors on Compile! Pin
Cpach8-Jul-04 20:31
Cpach8-Jul-04 20:31 
GeneralRe: Learning C and getting an Errors on Compile! Pin
Egbro8-Jul-04 20:54
Egbro8-Jul-04 20:54 
GeneralRe: Learning C and getting an Errors on Compile! Pin
Cpach8-Jul-04 20:59
Cpach8-Jul-04 20:59 
GeneralRe: Learning C and getting an Errors on Compile! Pin
Antti Keskinen8-Jul-04 21:26
Antti Keskinen8-Jul-04 21:26 
GeneralRe: Learning C and getting an Errors on Compile! Pin
Cpach8-Jul-04 21:30
Cpach8-Jul-04 21:30 

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.