Hi,
i want to write an OCX using Visual C# 2005. I'm new to C# but i know well the C++.
I started a new project and choosen Window Control Library.
Ok i need to display data contained in a structure passed by a memeber function son in C++.
But i'm stucked on three problems.
1)how to import...
Hi all,
is it possible to read an xml file from a VC++ project in VS2005? or i need to find some library somewhere?
into MSDN i found the possibility to do it from VB and VC# but not from VC++.
thanks
Davide
ok solved,
if i use a class the name exported are strange, if i use extern "C" and the functions outside the class it is ok.
i wonder why, anyway
bye
Davide
Hello,
i started a DLL project (my first) in VC++8.
Visual studio added autoamtically a class whose publi methods should have been exported. Actually that is true i can see the exported function using dumpbin but they have very strange name like ?Setup@CTG_ACQ@@QAEK.
I know this is the name...
I found the solution...
in mouse move event i check if the mouse is inside my picture control with PtInRect function
something like this
RECT rcL;
CWnd *wL=GetDlgItem(IDC_PICTURE_LEFT);
::GetWindowRect(wL->m_hWnd, &rcL);
if(PtInRect(&rcL,pt))
{...
Hi all
i have two picture controls in my application and i want to know when the mouse pass over one or
the other,
using the mouse move function?
any suggestion will be very appreciated
thanks
Davide
hi all
in a multilanguage application (visualc++ 6) how it is possble to change the menu language without restart it?
when i select a different language i can change everything in the dialog without restarting it but not for the menu.
And inside the menu i change the submenu but i'm not able...
thanks,
but sizeof (str)/sizeof (str[0]) it's only for char variable right?
or even for structure which contains TCHAR?
during fwrite for example
Davide
hi,
i started to convert an application toward a multilanguage application by using string tables.
i insert some different languages and it works fine, but i don't know how to deal the char variables inside the code.
1) is it right to change all the char definistions into TCHAR?
2) is it right...
Hi,
i need ad advice...
i'm building a dialog which contains 3 buttons (with an icon), i want to use these as radio button, when i click on the first it stays pressed and the other two are in normal position, when i click on the second, it stay pressed and the first and third stay up, exactly...
thanks
but i found this interesting tutorial that matchs exactly what i was looking for.
www.codersource.net/mfc_ctabctrl.html
i hope could help someone else.
bye
Hi,
i want to use in a dialog (VC++ 6) a Tab Control eith 3 tabs. Each of these must incluse a lot of CEdit to set the parameters...but i've never used the tab control and i don't know where starting.
I found examples in internet but most of them have property classes writtne by the authors...
hi,
i need to develop an online graph.
in my application i gather data from another program every 5s and i want to display these values in a graph that
change every 5s.
In MFC exists a class to make line or bar graph?
are there some examples to study?
thanks
Davide
hi,
how can i post a message in mainfrm.cpp that must be read by the view file?
Instead of CView class i use CFormView class which owns some CEdit.
I implemented some menu and when i select one menu i want to add a string on the CEdit in CFormView.
the problem is that mainfrm.cpp and AppView...
hi!
i have already implemented something very simple with CAsyncSocket but i think i will try with your examples since i'm in the beginning of this job.
many thanks for your help it was very useful.
bye
Davide
Hi,
thanks for your help.
Actually i found in internet something about create, Listen and so on but i'm stuck on catching events.
When Server is in Listen mode it has to wait for a connection and then accept. Client and Server should then communicate by means of Send and Receive commands...
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.