|
Thanks for reply cedric.
I checked your charting tool.
But i want to plot the XY scatter graphs. Does you tool provide that.
I also want to set all the properties og graph like
Axes properities:- color, width ,scale( min, max, major division and minor division), auto scale function, marking data points
Graph properties:- plotting points with/ without line connecting them, grid display function, labeling points, toggle title ON/OFF.
Please let me know if your chart provide this.
|
|
|
|
|
sharda.bhagwatkar wrote: But i want to plot the XY scatter graphs
What do you mean exactly by scatter graphs ? Points with an X and Y value ?
sharda.bhagwatkar wrote: Axes properities:- color, width ,scale( min, max, major division and minor division), auto scale function, marking data points
Color: yes. Width: no (you mean the width of the axis line ?). Scale: partially (min&max and major division yes, but there's no minor division). Auto scale: yes. What do you mean by "marking data points" ?
sharda.bhagwatkar wrote: plotting points with/ without line connecting them
If you use two separate series with the same data then yes (one series for the points, one for the line).
sharda.bhagwatkar wrote: grid display function
You can enable or disable the grid for a specific axis.
sharda.bhagwatkar wrote: labeling points
No, there's currently no such feature.
sharda.bhagwatkar wrote: toggle title ON/OFF
Yes.
BTW, does MsChart control provide with all those functionalities ? Even for labels on points ? I thought it was not that advanced
|
|
|
|
|
What do you mean exactly by scatter graphs ? Points with an X and Y value ?
-> Yes, with values X and Y.
Color: yes. Width: no (you mean the width of the axis line ?). Scale: partially (min&max and major division yes, but there's no minor division). Auto scale: yes. What do you mean by "marking data points" ?
-> Yes, width of axis line.
->axis scale should support -ve values also.
-> Marking data points means each point on graph should be highlighte with some symbol like cross, square etc.
If you use two separate series with the same data then yes (one series for the points, one for the line).
No, i want the functionality in which we can set the property for one series with either lines connecting between points or without line connecting between points.
MSCHART control provide all this functionalities. But just Zooming MSCHART i am not able to do it.
|
|
|
|
|
Sharda
Did you find any solution to your problem? I am struggling with exactly same problem.
Regards
Sachit Jain
Sachit Jain
|
|
|
|
|
I need to create an client application (MFC) that will connect to an Linux
Server. Where i created socket server using openssl.
Is thereany sample that uses CAsyncSocket to do this?
|
|
|
|
|
Have you checked Open SSL website?[^]
I dont know whether it's implemented using MFC.
-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin
|
|
|
|
|
|
Hi all,
i am a newbie in VC++..
I have a service written in vc++ (say service.exe).
I want to print a message in the command line if I run "service.exe /V" in command line. Is it possible to do this??. I tried with "_tprintf" but its not working.. Following is the version portion of my code.. please help...
INT APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
INT nCmdShow)
{
::_tcsupr(lpCmdLine);
if (::_tcsstr(lpCmdLine, "/V") != NULL)
{
_tprintf(_T("Version:")) ;
}
}
|
|
|
|
|
|
try,
#ifdef _UNICODE
#pragma comment (linker, "/subsystem:console /entry:wWinMainCRTStartup")
#else //_UNICODE
#pragma comment (linker, "/subsystem:console /entry:WinMainCRTStartup")
#endif //_UNICODE
|
|
|
|
|
Thanks a lot
It worked!!!!
|
|
|
|
|
Hi all,
i have one TreeCtrl and one ListCtrl , When i select a string from listCtrl and then click on Tree Ctrl the slected string is becomes null.
i want to carry this selected string from List Ctrl to Tree Ctrl or any other Ctrl.
how can i do this.
Please anyone can help me.
Thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
You can define your own message and like WM_SYNC_MYTEXT and send it to the specified control window. that message has to be handled at the tree control side (i.e derive your own tree control from CTreeCtrl) and handle message inside ON_MESSAGE macro inside the message map)
Please check MSDN
Message Handling and mapping[^]
User defined handlers[^]
There may be a better solution for your problem. What I've said is a quick solution.
-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin
|
|
|
|
|
"You can define your own message and like WM_SYNC_MYTEXT and send it to the specified control window. that message has to be handled at the tree control side (i.e derive your own tree control from CTreeCtrl) and handle message inside ON_MESSAGE macro inside the message map)
Please check MSDN
Message Handling and mapping[^]
User defined handlers[^]
"
i have no idea of Message Mapping ,so please tell me with example.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
ThatsMe. wrote: ...the slected string is becomes null.
What exactly does this mean?
ThatsMe. wrote: i want to carry this selected string from List Ctrl to Tree Ctrl or any other Ctrl.
Ok, so what's the problem? If you have obtained the string from the list control (into a variable of some sort), the list control is no longer part of the problem.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
in my application i m select a string from ListCtrl and perform an action in treeCtrl according to selected string,but after selection of string in ListCtrl when i click on Tree ctrl the selected string is lost there is no string.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
ThatsMe. wrote: ...when i click on Tree ctrl the selected string is lost there is no string.
So are you deleting it from the list control?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
no i don't want to delete it ,it is just bemomes NULL after click on tree view.
i want to perform any action like open any dialog according to selected string from list view.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
ThatsMe. wrote: ...it is just bemomes NULL after click on tree view.
So are you adding a NULL item, or changing an existing item to NULL ?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
No i want to use it same as selected from ListCtrl.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
i dont know how can selected string becomes NULL.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Assuming you are using MFC, you've likely got something like:
int nIndex = m_list.GetNextItem(-1, LVNI_SELECTED);
CString strItem = m_list.GetItemText(nIndex, 0); Now until you assign another value to strItem , it will retain its value indefinitely. Interacting with a tree control has nothing to do with it.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
ThatsMe. wrote: ...i want to use it same as selected from ListCtrl.
This makes no sense. What are you trying to say?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
I have created a MFC Activex Control using C++ and I am trying to use that control in C# Windows Application. During Build it shows error as:
EgActivexCtrl fatal error LNK1104: cannot open file 'Debug/EgActivexCtrl.ocx'
Please help me to sort out this error... Thanks
Palanivel
|
|
|
|
|
i was trying to get white color in my application.
my background is grey. when i try to bitblt my dc with paint dc in onpaint i am using SRCPAINT.
so white color is becoming grey.
|
|
|
|