Hi,
I want to create a function witch receives a string as a argument and the compares is with another string to see if there are equal (like searching a name in a database)
so i have:
int looking(CString name)
{
if (name==outro.name1)
return 1;
else
return 0;
}
Note: outro is just a...
Hi,
in a program i declared a list and a struct as public in a CDocument.
.....
public:
CPtrlist lista;
struct Socio
{
char nome;
};
At a function in another document when i use :
.....
Socio* pSocio=(Socio*)lista.GetHeadPosition();
lista is not recognize and the struct Socio neather.
What...
Hi,
In my code i have:
...
if(flag==1)
MessageBox(NULL,"Message1","Message2",MB_OK);
else
MessageBox(NULL,"Message3,"Message4,MB_OK);
...
but when i compile i get the error C2660 MessageBOx to not accept 4 arguments.
in other parts of the code i have the same...
Hi, I know this is a easy question but no one knows everythyng.
In my program i add a c++ file where i create a function.
In that function i want to pass two diferents arguments but one at a time in diferents ocasions.
ex.
CProcura dlg;//modal dialog box class
if(flag==1)
int...
Hi, I know this is a easy question but no one knows everythyng.
In my program i add a c++ file where i create a function.
In that function i want to pass two diferents arguments but one at a time in diferents ocasions.
ex.
CProcura dlg;//modal dialog box class
if(flag==1)
int...
Hi!
Using MFC witch is the class that i must use to put data from a struct into a table or grid existent in a dialog box when this one is opened.
Note:I think that there must be a class witch have member functions to manipulate the rows,columns,size etc...but i don´t know witch one.
Thank you
Hi!
Using MFC witch is the class that i must use to put data from a struct into a table or grid existent in a dialog box when this one is opened.
Note:I think that there must be a class witch have member functions to manipulate the rows,columns,size etc...but i don´t know witch one.
Thank you
I know that it´s a simple question but i am new at that and there is no way to find a member function of a class that can handle it.
How can i put a edit box control (any kind of control) invisible or visible??
Thank you
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.