|
Hi All,
I have been toiling around with using XMLRPC.Searching on Google didn't provide with any good links or articles. I want to know how to use XML RPC with VC++, where do I get the libraries from, and some samples from which I can gain knowledge about XML RPC.
Can anyone make me point to some article/source sample?
Thanks in advance.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
hi
can we add tooltip to a static text control in win32 Application??
If yes, then how??
Manjunath S
Bangalore
|
|
|
|
|
hi Manjunath,
It is possible to add tooltips for the Static Text, In the Resource Editor for every StaticText ID give a meaning String value.
in the Coding part call CString.LoadString(IDC_ResourceSringID);
Then use CToolTipCtrl ctr;
Ctr.Create(this);
and Try....
//==================
uday.
|
|
|
|
|
HI all,
I have created a ellipse using
CDC::Ellipse(...). but once i have created that ellipse i want to move the ellipse what i have created.
//======================================================================
if((insidepoint == true ) && (nFlags & MK_LBUTTON))
{
CRect rect;
GetClientRect(&rect);
ClientToScreen(&rect);
SetCapture();
nOldMode = dc.GetROP2();
dc.SetROP2(R2_NOT);
one.CreatePen(PS_DASHDOT,1,RGB(200,200,0));
old = dc.SelectObject(&one);
dc.SelectStockObject(NULL_BRUSH);
double dia = sqrt((array[2]-array[0])*(array[2]-array[0]) + (array[3]-array[1])*(array[3]-array[1]))/2;
//dc.Ellipse(OldPoint.x,OldPoint.y,(point.x + dia),(point.y + dia));
dc.Ellipse(point.x,point.y,(point.x + dia),(point.y + dia));
OldPoint = point;
dc.SetROP2(nOldMode);
dc.SelectObject(old);
showCordinates(point);
}
//======================================================================
please let me know any solution.
uday.
-- modified at 6:44 Tuesday 1st August, 2006
|
|
|
|
|
|
hi whitesky,
i have created an ellipse using cdc::ellipse(...).
but once it is created, and the mouse is entered into the ellipse what i have created, if i press the Left button and dragged the ellipse what i have drawn, it should move accordingly with the current position of the mouse.
please help me out. It is really a challenging task.
//===========================================================
if((insidepoint == true ) && (nFlags & MK_LBUTTON))
{
CRect rect;
GetClientRect(&rect);
ClientToScreen(&rect);
SetCapture();
// nOldMode = dc.GetROP2();
dc.SetROP2(R2_NOT);
one.CreatePen(PS_DASHDOT,1,RGB(200,200,0));
old = dc.SelectObject(&one);
dc.SelectStockObject(NULL_BRUSH);
double dia = sqrt((array[2]-array[0])*(array[2]-array[0]) + (array[3]-array[1])*(array[3]-array[1]))/2;
dc.Ellipse(OldPoint.x,OldPoint.y,(point.x + dia),(point.y + dia));
dc.Ellipse(point.x,point.y,(point.x + dia),(point.y + dia));
OldPoint = point;
// dc.SetROP2(nOldMode);
dc.SelectObject(old);
showCordinates(point);
}
//===========================================================
please help me out.
uday.
-- modified at 6:54 Tuesday 1st August, 2006
|
|
|
|
|
if i understand you need to WM_LBUTTONMouse and WM_MOVEMOUSE
for your purpose and you can use from point for position x,y in these messages
-------
i think you can use also from a control (button or...) with a shape like ellipse instead this way
|
|
|
|
|
Hello,
I wrote a simple programm using Visual C++ where I want to move a cirle
in a window via drag&drop. I used the pDC->Ellipse() and the
InavlidateRect() functions for drawing the circle.
So far it works. But I have two problems:
1. When I move the mouse quickly during a drag&drop, not the entire
"old" cicle disappears so that I get a trace of the way I moved the
cicrle around
2. How can I implement that with a flicker-free window? (perhaps the
InvalidateRect() and pDC->Ellipse() functions aren't very useful for my
intentions and I should use other functions)
Uday kiran
Uday kiran
|
|
|
|
|
Hi Friends,
I have a question about RTTI.
1) In C++ we have vptr pointing to vtables which helps to make use of
pointer as polymorphic entities.
2) Without knowing object type I can call methods of object using
those pointers.
So in which case RTTI is needed? ( Why I need to know my object
type?) What is the use case?
Vikram S
|
|
|
|
|
class CObject {}
class CCar : public CObject {}
class CBus : public CObject {}
class CBike : public CObject {}
std::vector<CObject> vecVehicles;
then, how do you know if the elements inserted in the vector are Cars, Buses or Bikes without RTTI ?
|
|
|
|
|
toxcct wrote: then, how do you know if the elements inserted in the vector are Cars, Buses or Bikes without RTTI ?
Right!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hi all,
I wrote a batch file, with I call from my VC program, but....
Well first of all, I would like to know if it is possible to put sql scripting in a batch file for execution?
I can connect to the MySql Server with a batch file but can't execute anymore commands (MySql command like reading from a file). I don't know how to do this, so If anyone could point me to a site or help me .... well just thanx in advance
Regards
Programm3r
Regards
Programm3r
|
|
|
|
|
this is more a question for the SQL forum[^] or even for the general questions forum
|
|
|
|
|
Thought so ..... my bad
Thanx anyway
Regards
Programm3r
|
|
|
|
|
A batch (.bat) file is nothing more than a collection of commands that could just as easily be executed from a command prompt. That said, if you can issue the SQL commands from a command prompt, then you can also do such from a batch file.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi,
I have one program which writes some text to a file, and save it and closes.
If we click on the file the contents can be read {text file}.
I want to know is there any way I can make a file unreadable when its opened from outside, I want to know to how to compress when file when it is closed and uncompressed when it is opened by the program.
Can u please give me some suggestions.
Thanking you,
Suresh H.
|
|
|
|
|
Why don't you encrypt/decrypt it?
Marc Soleda
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
Hi, Thanks for the reply.
How to do that ??? can u please give me some suggestions and also along that i want to compress the file.
|
|
|
|
|
You can find several in Criptography[^] category.
I have tested this one[^] and I think you could use it. All depends on the degree of security you need or if you just needs a first stop for a possible opener.
I hope it helps,
Marc Soleda
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
|
Thank you very much for the link I will check it.
|
|
|
|
|
Hi,
I need create function which returned pointer
for example:
void* tmp;
return tmp
Can ActiveX returned pointer to the external application???
Because I don't know how do it.
Function in external apllication which used ActiveX is for e.:
InvokeHelper(0x11, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
instead VT_BOOL I need poiter variable...
Please help me...
|
|
|
|
|
Hi all friends .
Is any technology for developing graphics program (GUI programming) faster than DirectDraw ?
Thank in advance .
|
|
|
|
|
|
A_Fa wrote: Is any technology for developing graphics program (GUI programming) faster than DirectDraw ?
Is OpenGl is of any use? do you want to make game?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|