|
Have you tried with IE, HtmlView is based WebBrowserCtrl which is used in IE.
This site is blocked in my office PC and says it comes in Games Category may be the similar reason.
|
|
|
|
|
What is the reason? This is being able to open in IE7. Then why is it not being open in my application?
Thanks & Regards,
HEmang
|
|
|
|
|
Rajkumar R wrote: Have you tried with IE, HtmlView is based WebBrowserCtrl which is used in IE.
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
|
|
|
|
|
Would you please help in this regard? I am facing very serious problem. I am able to navigate to any other URL but not containing swf file in its string and gives me Internet Explorer Script Error.
Please any help is highly appreciated.
Thanks & Regards,
Hemang
|
|
|
|
|
Using VS6, I just created a test application, with the view derived from CHtmlView , and it worked fine.
"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
|
|
|
|
|
Have you tried with my given url i.e.
http://www.webkinz.com/SWF/setLocale.swf?locale=us_en[^]
Then why am i not being able to do the same? Is there something related to SWF file. I am not able to load even local swf file.
Please help further by trying with my url.
Thanks & Regards,
Hemang
|
|
|
|
|
Hemang Raval wrote: Have you tried with my given url i.e.
http://www.webkinz.com/SWF/setLocale.swf?locale=us_en[^]
Yes, it works fine.
Hemang Raval wrote: I am not able to load even local swf file.
Can you using IE or some other browser?
"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
|
|
|
|
|
you please give source code of your test application that you made with CHtmlView. It would e great help to me.
Thanks & Regards
Hemang
|
|
|
|
|
DavidCrow wrote: This makes no sense
what are you trying to say
|
|
|
|
|
Hey how can i move CClientDC object in client window using mouse ?
i did it but it show last cicle on screen. If i do Invalidate to TRUE it moves the circle but did'nt show properly in Dialog box.
if((nFlags & MK_LBUTTON)==MK_LBUTTON)
{
CClientDC obj(this);
x=(point.x)-50;
y=(point.y)-50;
obj.Ellipse(x,y,x+100,y+100);
}
Invalidate(FALSE);
So what should i do ???
Regards:
Xohaib Shirani
|
|
|
|
|
You've to put the drawing stuff inside the WM_PAINT handler.
Then you'll ask for an update (outside of the above handler) whenever appropriate (for instance using a timer if you need to move continuosly).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
CPaintDC obj(this);
x=(point.x)-50;
y=(point.y)-50;
obj.Ellipse(x,y,x+100,y+100);
it didn't work.And i also tried this by defining CPaintDC obj in OnPaint fucntion
x=(point.x)-50;
y=(point.y)-50;
CDC *ptr=CDialog::GetDC();
ptr->Ellipse(x,y,x+100,y+100);
these both are not working.
Regards:
Xohaib Shirani
|
|
|
|
|
What do you mean with: "doesn't work"? Please detail.
BTW you have to use CPaintDC dc(this); inside the OnPaint handler.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Yes dear i add CPaintDC obj(this);
but it doesn't work properly. It leave the last effect of circle mean it moves the circle but the some effects of circle remain on the screen.
Regards:
Xohaib Shirani
|
|
|
|
|
Shirani wrote: It leave the last effect of circle mean it moves the circle but the some effects of circle remain on the screen.
Do you properly invalidate the painting area?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
yes if i invalidate the painting area it hides the circle after moving it, You can check it by urself.
Regards:
Xohaib Shirani
|
|
|
|
|
I made a test, and, of course , it works well.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Where you are calling Invalidate, is it after painting in the OnPaint Handler?
And are you still drawing in the move handler?
In the Move Handler just update the position to member variable and invalidate the client region, invalidate will cause the paint to happen, And in your OnPaint Handler draw the ellipse, don't call invalidate in OnPaint Handler.
If you are not painting the background by overriding the OnEraseBkgnd method, then also previous ellipse remains on the DC.
|
|
|
|
|
i invalidate in OnmouseMove handler not in onPaint function
Regards:
Xohaib Shirani
|
|
|
|
|
Hi,
I want to zoom in the selected area on MSCHART. The area can be selected through rectangle which will be shown when the mouse moves over MSCHART.
Please help me if anyone know how to zoom this area on MSCHART.
One method i can think is shifting the selected rect origin to plot origin.
For doing this, i will require Plot area in pixels.
Thanks.
|
|
|
|
|
I don't know how you would do that with MSCHART but you can take a look at the link in my sig. I developped a charting control and it has support for manual zoom (with the mouse).
|
|
|
|
|
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
|
|
|
|