|
|
|
Hi toxcct,
I have came across a problem & is behind it for somedays,but in vein.
Iam working under windows ,using vc++.
My problem comes up when I use zooming & doublebuffering(for preventing flickering).
It makes sense to understand my problem only if I attach a sample application also.(Attachment is in the mail I have send you)
Have isolated the problem & had put in a small test application.
my problem is when the "Zoomfactor" is made to 10,I dont see anything in my view.(The problem is not that,it is too small to be seen.I have checked that in my actual project 100%).
If one makes the zoom to 10% & start reducing the size of the window using the mouse,then we can see the text.
Iam attaching a small test application along with this.
One has to look at only the "ex03aView.cpp" file
In "ex03aView.cpp::OnPrepareDC" one can set different Zoom values to the "m_iZoomFactor" variable.(It is set to "10" now)
TemporaryDc is created locally in "ex03aView.cpp::OnDraw"
Also,if there need to be any improvements to be made in the "memdc" class,Please tell me.
some one pointed out that,When I use the following statement in my Memdc.h,before creating the compatible Dc,the bitmap created is too large & that may cause a problem.
But If I comment this one out in my code,I don't see the full rectangle representing the pageSize.
//Client Rectangle.
m_clientRect = *pRect;
pDC->DPtoLP(&m_clientRect);
Hope u could give me a hand on this regard,If possible
Eagerly waiting for a Reply
Thanks....
|
|
|
|
|
good morning Mr¨Pazzuzu,
i think i have a solution to your problem.
i asked yesterday a question on the C++ Forum related to what you asked.
i think this[^] might interrest you...
cheers,
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Good Morning,
Thank you toxcct.Really appreciate what you have done for helping me out.
Will look in to the link provided.
Thank You once again & have a nice weekend
Pazzuzu
|
|
|
|
|
HAPPY BIRTHDAY TO YOU
Nice talking to you.
|
|
|
|
|
you're welcome...
thank you for your nice thinking to me
TOXCCT >>> GEII power [toxcct][VisualCalc]
-- modified at 8:37 Monday 9th January, 2006
|
|
|
|
|
toxcct wrote: thank you for your nice thinking to me
I hope.. i have send your around 10 mail i wishing you marry Xmas where are you buddy?
"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
|
|
|
|
|
|
toxcct wrote: merry Christmas dear alok
Congratulation for Becoming The Most Helpful members of 2005[^]
"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
|
|
|
|
|
|
tomorrow is jan04 i think you must be back to the forum tomorrow .
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
T-1000 wrote: you must be back to the forum tomorrow
well seen mister "new sig"...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
-- modified at 8:36 Monday 9th January, 2006
|
|
|
|
|
shhhh... for the moment, i'd be called as t-1000.hiding from my office guys
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
you're not well hidden, i still can see your little sig in the footer : --[V]--
nevermind, my blog is not visited that much...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
-- modified at 8:36 Monday 9th January, 2006
|
|
|
|
|
hey toxcct no complications in life, i didn't like wearing masks.. and so i'm back as your old dear friend vivekuniq. i dont fear anybody now
cheers!!
vivek.
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
toxcct wrote: nevermind, my blog is not visited that much...
Hai Nic!
what happen to your name. your b'date too show your are born on 1 jan 1970 ...
how come that?
|
|
|
|
|
Nic ? who's this one ?
ohhh, i see, you talk about toxcct ?
well, he's off line for still 3 weeks... I'm charged to replace until then.
What you have to know about my birthdate is that i have been designated by Chuck Norris (hope you know this guy... so popular on the Lounge ) to manage tox' homepage while he's absent, and as Chuck is the internet, then my date was naturally the date on which all date types start at.
hope my answer satisfies you dear Alok...
cheers,
|
|
|
|
|
oh!,but what happened to your blue color? did you play in rain for too long?
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
but hey !!! Where's V****uNi* ? ;)
|
|
|
|
|
V****uNi* hmm, In a fight with chuck Noris, I had lost those teeth (**** *) . but I managed to kich his balls.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
So you are back
"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
|
|
|
|
|
|
|
Congrats!!!
I'll write a suicide note on a hundred dollar bill - Dire Straits
|
|
|
|