Search:
Type: Posts; User: Mg85
Search:
Search took 0.01 seconds.
-
November 15th, 2011, 05:47 AM
Thank you so much!!!!! You are the boss!!!!
Thank you
-
November 15th, 2011, 05:28 AM
Yes, I know, but where can I tell to the program that only create one tab, and not two???
-
November 15th, 2011, 05:00 AM
I dont think so, becouse it is only the name of the tab, and it is in other function.
Thank you
-
November 14th, 2011, 07:15 PM
But with some function of this file must create the tab, I think....
In " AdestView.cpp" there is a function that call one function of this file:
void CAdestView::OnUpdate(CView*...
-
November 14th, 2011, 06:40 PM
Anyone know how to run this class?
-
November 13th, 2011, 08:00 PM
Hi,
I hava an app that has two tab, "informes" and "variables", but I have to delete the informes tab becouse now it is not used. The code isn't me, and due to it, I don't know how to delete the...
-
October 23rd, 2011, 06:26 AM
Thank you so much, finally, I used this code to save CString:
int nLength = nombre_b.GetLength() + 1; // string lenght in characters
int nBytes = nLength * sizeof(TCHAR); // buffer size...
-
October 21st, 2011, 10:50 AM
I dont now how to run serialize function. where I open the file? where I call the function?
I have back to try with f.read and f.readString, I did an example to prove something, and I found that...
-
October 21st, 2011, 08:21 AM
I didnt understand you.
I make a Struct with all the variable in the function PegarVariables(), and after I made a serialize function, like that
if (ar.IsStoring())
{
// Pasamos los...
-
October 21st, 2011, 06:08 AM
Ok, them, I can use f.read to read int double and so on, and readString to read CString. Do you mean this?
I tried to use it, but it didnt read well the CString.
-
October 21st, 2011, 05:48 AM
Thank you very much for answer, but them, I dont know how to get read this kind of date.
Whant method shoud I use? should I change the kind of date, CString to char* or something like that?
I...
-
October 21st, 2011, 05:35 AM
mm ok, but them, I must to use other method? or I use f.read to read int, double... and to read string, I use other method.
-
October 21st, 2011, 04:57 AM
Thank you everyone.
I'm sorry for my english, and for take so time to answer.
I tried to use CFile:Read and write, I have a problem here:
f.Read(&nombre_b,sizeof(nombre_b));
...
-
October 19th, 2011, 05:58 AM
Yes, I know. But, for example, if I use CStdioFile with ReadString/writeString only get/set string and I read line by line, if I don't wrong, and I write several type of dates, int, double, CString.....
-
October 18th, 2011, 04:35 AM
Could I use the function Serialize instead of fread/fwrite??? If I can, how could I use this funcition??
I dont understand this method.
-
October 18th, 2011, 02:27 AM
I dont know, but I chek the value when it read, and the value is correct. The problem is at the end of function, the value is lost.
-
October 17th, 2011, 05:18 AM
Hi,
I have two function to save/load information from/in a file.
My problem is that every date is load good, but when it arrived at the end of function, and this date are necesary to call...
-
October 4th, 2011, 12:58 PM
Ok I will change GetDlgItem(IDC_EDIT1)-> by m_edit.
What coordinates should I put so that the button is displayed on the bottom of the dialog?
-
October 4th, 2011, 12:42 PM
What mean "Well, but why do you still call GetDlgItem while you already have the control member variable m_Edit:"???
You mean that I do this : m_Edit.>MoveWindow(5,5,cx-1,cy-1); ??
I dont...
-
October 4th, 2011, 11:20 AM
Finally, I solved of this way:
void CEjemplo::OnSize(UINT nType, int cx, int cy)
{
CDialogEx::OnSize(nType, cx, cy);
if (GetDlgItem(IDC_EDIT1))
...
-
October 4th, 2011, 10:27 AM
ok, I'm sorry, I didn't understand you.
Now I made this function:
void CEjemplo::OnSize(UINT nType, int cx, int cy)
{
CDialogEx::OnSize(nType, cx, cy);
OnSizeToClient();
-
October 4th, 2011, 06:33 AM
I made this function in my dialog,
void CEjemplo::OnSizeToClient()
{
CRect myRect;
GetClientRect(&myRect);
ClientToScreen(myRect);
-
October 4th, 2011, 05:48 AM
Yes, I know this function, but I dont know how to use to maximize the edit control
-
October 3rd, 2011, 01:43 PM
I have a dialog with edit control, and I did:
dlgDesc->ShowWindow(SW_MAXIMIZE);
to show the dialog maximized, but only maximized the main frame and not the edit control.
How can I maximize...
-
October 3rd, 2011, 01:01 PM
Ok, finally, I got my answer.
I solved of this way:
I made a public variable of my dialog class, where is the edit control, in the class view, and I made the windows in the builder. After,...
|
Click Here to Expand Forum to Full Width
|