15,898,134 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Alexey Gapon (Top 20 by date)
Alexey Gapon
17-Jan-15 3:26am
View
Thank you. Yes you understand me completely. I thoght so (.
Alexey Gapon
27-Dec-14 19:15pm
View
I don`t know it just dose not work ((
Alexey Gapon
27-Dec-14 7:25am
View
Hello i tried that but it makes no difference. The "Location" is still changing it`s value to (0,0). And once [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] have been added to the properties all solution stop working i need to rerun the VS.
Alexey Gapon
8-May-13 11:04am
View
http://inchoatethoughts.com/custom-drawing-controls-in-c-manual-double-buffering
This is interesting article. About double buffering. But 2010 - crashed)))
Alexey Gapon
8-May-13 10:04am
View
More commonly i am seting this propertie in Construor of Visual Studio. And yes i tried that too.
Alexey Gapon
8-May-13 9:36am
View
yes you are right! But My "Ruler"s are OnPain() based. They flickered until i wrote in class constructor "this.DoubleBuffered = true" and it stoped. Hm i am confused.
Alexey Gapon
8-May-13 9:26am
View
http://msdn.microsoft.com/en-us/library/system.windows.forms.tabcontrol.doublebuffered(v=vs.100).aspx
Then what is this article about?
Alexey Gapon
8-May-13 9:19am
View
Well something strange my TabControls dose not have "DoubleBuffered" propertie, and i can`t set it it true, i think that is why it is flickering... I ma Using Microsoft Visual Studio Express 2010
Alexey Gapon
8-May-13 9:14am
View
No. I didn`t... i posted a code example and it became solved (((
Alexey Gapon
8-May-13 9:06am
View
I tried Suspend and Resum Layout it looks not very good. The best idea is:
1) Create Bitmap from paret area of the main form
2) hide all controls
3) put this Bitmap as background image
4) resize the form
5) set back ground image to bull
6) show all controls.
Is there a way to create a printscreen bitmap from parent area of main form?
Alexey Gapon
8-May-13 9:00am
View
Listen... all my controls are on tabControls! I did`t find any DoubleBuffered option for tabControls non for tabPage... so that is why all my controls are blinking and flickering and jumping... everything is double bufered but TabConrtols - not. Is there a solution solve this out?
Alexey Gapon
8-May-13 8:55am
View
Oh no :)) I already trieed it! It slows down my form twice. And i can see each repaint in each control step by step)))
Alexey Gapon
8-May-13 8:44am
View
I already did it. I allways set this property to true.
Alexey Gapon
8-May-13 6:53am
View
It wount help because i am writing an advanced image editor. And when the main form change it`s size I call "UpDate()" function for all custom controls Panels, Pictureboxes, TabControls, Animation sliers, Rulers and so on. And in the body of the calss i calculate the location and size then just "CustomControl.Size = new Size(x, y) and CustomControl.Location = new Point (x,y)". And while i am resizing my main form all controls "jumps" and flickering. I am using Refresh() after calculating size and location. It looked like the computer calculating and drawing controls slower then the Cursor moves. It is strange there no complex calculatings. All calculatin looks like "If (something) {control.size = new Size ( parent.Size.width-10, parent.Size.height - 10} else {{control.size = new Size ( parent.Size.width + 10, parent.Size.height + 10}}" i mean no complex calculation.In many articles other people suggest enable flags such as DoubleBufered but it dosen help with custom changeing Location and Size of the controls.
Alexey Gapon
8-May-13 5:25am
View
MainForm.OnSizeChange()
Alexey Gapon
8-May-13 3:32am
View
Actualy you a wrong because BitMiracle allows to read TIFF file withot loading file into memory.
Alexey Gapon
7-May-13 19:14pm
View
I didnt ignore anything. I asked if there a way croping the JPEGs, course i found out how to crop TIFF files. That is all i asked here. You answered my quastion about reading JPEG. So now i understand that if the resolution is larger then 5000 * 5000 i should save it into TIFF format for my tasks. Thanks A lot for the help.
Alexey Gapon
3-May-13 18:06pm
View
I will try BitMiracle for it... will post a code here if it will work!
Alexey Gapon
3-May-13 17:37pm
View
Very Nice Solution! Well it is helped. But now there is a quastion how to breake the image into smaller parts? Without loading whole image into memory?
Alexey Gapon
3-May-13 16:42pm
View
I mean without waiting couple of seconds or even minutes for redrawing image in viewport.
Show More