|
The syntax you are using with the parens is how you call placement new , and the way you would be calling placement new is incorrect.
Peace!
-=- James Please rate this message - let me know if I helped or not!<hr></hr> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Thanks James, Cool!
We have never thought of this.
regards,
George
|
|
|
|
|
|
Thanks Hamid,
But I do not think it relates to my question.
have a nice weekend,
George
|
|
|
|
|
It was more info about void*.
|
|
|
|
|
What do you mean Hamid? I do not quite catch your points.
have a good weekend,
George
|
|
|
|
|
I said it was for more info about void pointers.
Thanks but I think I must tell you have a good weekend because my holiday is Fridays not Sat and sundays
|
|
|
|
|
Thanks Hamid!
regards,
George
|
|
|
|
|
You're welcome.
May I ask a question?
|
|
|
|
|
Sure, Hamid.
regards,
George
|
|
|
|
|
I asked a question of you before but I dont know why you didnt answer to me anyway I saw your profile that you live in china,so I have some questions of you:
I like to see China because I like China and China people (of course I dont know I shall be successed or no),so I want to learn China language, I seached on the internet but I couldnt find good site for learn it because I must know pronunciation of alphabet and how can I write China's character (do you know a good site for it) I think its difficult for me and other question where's nice places on China.
|
|
|
|
|
Hi Hamid,
I have answered you before. Please check your private message box.
regards,
George
|
|
|
|
|
I didnt get any thing.
|
|
|
|
|
I have sent again, still not received?
regards,
George
|
|
|
|
|
|
Could you check with your email please? I always reply with Email option.
regard,
George
|
|
|
|
|
No I didnt get any mail! except your reply!
|
|
|
|
|
Hi Hamid,
What is your email address? For off topic questions, I would like to discuss you using personal email other than using this forum resource.
regards,
George
|
|
|
|
|
My mail is help_clock@yahoo.com but I suggest if you have any question is better you ask here because you will be get more answer to your question.
|
|
|
|
|
No problem, Hamid!
I have replied your email.
regards,
George
|
|
|
|
|
Yeah I got it.
|
|
|
|
|
Found GetVisibleClipBounds works, testing...
<br />
m_pMemImage=::new Bitmap(cx,cy,PixelFormat32bppARGB);<br />
m_pMemGraphics=::new Graphics(m_pMemImage);<br />
<br />
CMyImage::Draw(Graphics *pG)<br />
coordinates in CMyImage are in percentage, so when I draw it, the total size should be known. It'll be fine to get the size of a Graphics object here, any way?
modified on Thursday, January 17, 2008 3:26:35 AM
|
|
|
|
|
followait wrote: the total size should be known
You need to know the drawing area right?
|
|
|
|
|
|
Normally GetClientRect API will give the window's client area for normal painting. Isn't it enough?
|
|
|
|