|
I want to make an iphone style scrolling. I tryed to set the scroll position(in a loop) on mouse click but my application is flickering when doing that.
can anybody explain/solve my problem?
|
|
|
|
|
Often, setting the DoubleBuffer style of your Form or Panel will solve the flickering problem:
this.SetStyle (ControlStyles.DoubleBuffer, true);
|
|
|
|
|
|
Something like this works:
private const int WM_ENTERSIZEMOVE = 0x0231;
private const int WM_EXITSIZEMOVE = 0x0232;
protected override void WndProc(ref Message m)
{
base.WndProc(ref m);
switch (m.Msg)
{
case WM_ENTERSIZEMOVE:
this.Opacity = 0.5;
break;
case WM_EXITSIZEMOVE:
this.Opacity = 1.0;
break;
}
this.Invalidate();
}
Still trying to get rid of the small flicker....
The only programmers that are better C# programmers, are those who look like this -> |
Programm3r
My Blog: ^_^
|
|
|
|
|
|
So...what's the question? How does that image relate?
|
|
|
|
|
|
This [^]may give you an idea.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi .
Please help me .I want to insert color in the line of the richtextbox.In fact when user clicked on the lines of the rtb , i want to changed background color of the that line .
|
|
|
|
|
Hi.
I want highlighting current row in the rtb . please help me .
|
|
|
|
|
Hello Everyone...
There is a need to do below for one of my project which i ma doing for learning purpose... i am finding it difficult to implement... please give me some direction on this...
i want to send an email to so many any people in diffrent world areas.
what i need is that when any of Recipient opens/selects that email in thier outlook client, it shall open a pop up kind of window where i can ask my friend to provide thier birthday details (in some netry field in the window) and then say "ok" or something. which shall send a email back to my id(that is sender's id)...
the main dificulty i am getting is to send mail, we need to know exchge server details of that user's system. how do we get that... like that opening window from outlook mail is unknown to me...
it would be really helpful if some of you can share your knowledge with me which shall help me to achieve this...
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
Hmm... you look like a spammer. You need a confirmation, the the email address exists.
|
|
|
|
|
Hi... thanks for response though it was little tough...
i shall have told in starting that i am not doing any business advertisement thought these mails... i just want to collect birthdays of so many of my firends whom i will send this mail and automate this birthday collection...
thats all whole idea is... in place of asking each of my friend to give thier bdays which i never collected and stored properly i want to do it though automated thing...
and buddy i am not a spammer... you ask me few C# basic questions and if i know ans i will reply same otherwise atleast i will reply i don'y know... thanks any way...
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
It will not work. Because, what you want is the same thing what a spammer / virus do.
Your code will be removed/blocked from mailserver, or from outlook client, or antivirus.
That means, forget it....!!!
A "normal" user just send an email like this:
-------------------------------
Please provide me your bithday
Name :
Birthday :
Thanks...
-------------------------------
|
|
|
|
|
thanks.
i have already done so (sending emails) but this one what i planned to create, was kind of forced reminder to all my firends who are too lazy to reply and didn't gave details till now. so i thought to send a different reminder...
thanks for you suggestion...
will stop this thought now...
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
You cannot force your friends to give you their birthday. It's a privacy.
|
|
|
|
|
i too do have respect for my firends privacy but i know some of my friends who are not worried about thier privacy more over they are lazy enough to reply putting it as task for tomorrow...
thanks...
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
Instead of sending the mail content as plain text, send as html
there you could write your javascript.
but iam not sure about, how the client machine antivirus will allow this kind of script in the mail content.
|
|
|
|
|
thanks sambasivam. i will give it a try...
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
If an email did that to me, I would hunt down the sender, and remove large lumps of their body with a rusty [CENSORED] [CENSORED] before [CENSORED] a melon [CENSORED]. Twice. Sideways.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
OriginalGriff wrote: I would hunt down the sender, and remove large lumps of their body
|
|
|
|
|
hi i just replied to one of member who thought i am spammer...
then i thought to reply to you, i don't know what way i harmed you or troubled you so you replied in such a way... i am little different from people who act before thinking so you are getting a soft reply.
any way, to clear some thing read below and think twice from next time onwards before replying to any one... if you don't know intention of person... it will reduce some headache from you as well as from the sender too...
i shall have told in starting that i am not doing any business advertisement thought these mails... i just want to collect birthdays of so many of my firends whom i will send this mail and automate this birthday collection...
thats all whole idea is... in place of asking each of my friend to give thier bdays which i never collected and stored properly i want to do it though automated thing...
hope you understand this time...
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
Your request looks exactly like a spammer / phishing attack, even if it isn't the intention.
|
|
|
|
|
hi.
thanks for your inputs. i was not aware if this is exactly what pishing does.
so today i learnt to at least avoid this kind of approach for any implementation needs.
i thanks everyone who ever reponded and gave thier inputs.
thanks all...
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
Glad you learnt something today.
Another thought for you, consider that the people who you are sending your request to DON'T WANT to respond with their birthdays. Many of us refuse to disseminate this type of personal information to anyone but family and very close friends. That is why Griff responded so strongly. What you proposed to send to your friends is considered extremely intrusive.
|
|
|
|