Advertisement

1 - 10 of 52 containing alltags:("onpaint") (0 seconds)
I am confused by using OnDraw() and OnPaint(). I am not sure when should I use the OnDraw() and when the OnPaint() and both.
Zones: Windows MFCDate Answered: 07/20/1998 Grade: C Views: 0
When a htm page is scrolled so part of the control gets outside the browsers view, the control changes size nicely but does not paint right. I cannot find the event to grab to refresh it myself, ...
Zones: Delphi ProgrammingDate Answered: 06/19/2000 Grade: C Views: 0
I want to display a bitmap in HtmlView.But it can not work Following is the code: void CTod_Browser_View::OnInitialUpdate() {    CHtmlView::OnInitialUpdate();        CSize sizeTotoal(512...
Zones: Windows MFC, Font CreatorDate Answered: 12/16/2000 Grade: A Views: 0
How can i add on paint function easily... as i can do by a single click in VB. please tell me the easiest method to do this just like in Vb. i want to add OnPaint Function of a form in C# Thanks...
Zones: C#Date Answered: 06/03/2003 Grade: C Views: 210
Okay I am making a program that displays images, converts images...etc but there is something wrong, I am creating the form that shows the image dynamically, I created event handlers for this for...
Zones: Delphi ProgrammingDate Answered: 06/12/2003 Grade: A Views: 0
Hello, I need to update a graphic that I draw on the screen using GDI independantly of the OnPaint routine.  I have a piece of code that works, but it leaks GDI objects at an alarming rate.   ...
Zones: Windows MFCDate Answered: 07/05/2004 Grade: B Views: 0
I am so confused, so if this is confusing, join the club? ;) I have a VB.NET Windows application, using Visual Studio.NET (2003) It hassome TabPages on it, and most of it works fine. On on...
Zones: Visual BasicDate Answered: 08/09/2004 Grade: A Views: 0
I have created a user control that inherits from the button control. The problem is that when I am running an application with the user control on it, and then open another form that covers part of...
Zones: .NETDate Answered: 02/10/2005 Grade: B Views: 0
Hi there! I wrote a program with: 1.  4x e.drawEllipse on one Panel 2. a lot of visualized nodes and images and so on on another panel (a lot of graphics) 3. nothing on te backround the or...
Zones: C#Date Answered: 03/23/2006 Grade: A Views: 0
Hi I do this in my code. It creates 2- black lines. protected override void OnPaint(PaintEventArgs pe)         {             // Get the graphics object     Graphics gfx = pe.Graphics;    ...
Zones: C#Date Answered: 07/01/2006 Grade: A Views: 0