Click here to Skip to main content
15,905,785 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: GDI+ refresh image (C++) [modified] Pin
Valdyr11-Jan-09 23:25
Valdyr11-Jan-09 23:25 
GeneralRe: GDI+ refresh image (C++) Pin
Tim Craig12-Jan-09 9:53
Tim Craig12-Jan-09 9:53 
GeneralRe: GDI+ refresh image (C++) Pin
Valdyr12-Jan-09 13:46
Valdyr12-Jan-09 13:46 
QuestionRe: GDI+ refresh image (C++) [modified] Pin
Valdyr13-Jan-09 1:46
Valdyr13-Jan-09 1:46 
AnswerRe: GDI+ refresh image (C++) Pin
Mark Salsbery13-Jan-09 6:38
Mark Salsbery13-Jan-09 6:38 
GeneralRe: GDI+ refresh image (C++) Pin
Valdyr13-Jan-09 9:07
Valdyr13-Jan-09 9:07 
GeneralRe: GDI+ refresh image (C++) Pin
Mark Salsbery13-Jan-09 9:27
Mark Salsbery13-Jan-09 9:27 
GeneralRe: GDI+ refresh image (C++) Pin
Valdyr13-Jan-09 10:06
Valdyr13-Jan-09 10:06 
Yes, Prikaz is only called from the WM_PAINT handler code.
Render() is called only from Prikaz(), (that is a bit stupid, i could do completely without Prikaz())

In render() i'm just repainting the bitmap, and calling it from prikaz().

it's a problem i cant use invalidate, (someone refered to it in .net or mfc),

Mark Salsbery wrote:
call an invalidate function
like InvalidateRect() to tell the system it should send another WM_PAINT.

i need that function that tells the system to send another WM_PAINT, but as i have seen in some case when WM_PAINT handler is executed, (i mean on Prikaz() in WM_PAINT handler to be executed) the image on the screen doesn't get always updated (in some cases graphics.DrawImage() does update the image and in some cases it doesn't)... i was trying to see what causes DrawImage to redraw image and how to "simulate" that condition...
i'll use InvalidateRect() as you said, it must work...

modified on Tuesday, January 13, 2009 4:45 PM

GeneralRe: GDI+ refresh image (C++) Pin
Mark Salsbery13-Jan-09 18:53
Mark Salsbery13-Jan-09 18:53 
GeneralRe: GDI+ refresh image (C++) Pin
Valdyr14-Jan-09 8:48
Valdyr14-Jan-09 8:48 
GeneralRe: GDI+ refresh image (C++) Pin
Mark Salsbery14-Jan-09 8:59
Mark Salsbery14-Jan-09 8:59 
GeneralRe: GDI+ refresh image (C++) Pin
Valdyr14-Jan-09 9:09
Valdyr14-Jan-09 9:09 
GeneralRe: GDI+ refresh image (C++) Pin
Tim Craig14-Jan-09 8:39
Tim Craig14-Jan-09 8:39 
GeneralRe: GDI+ refresh image (C++) Pin
Valdyr14-Jan-09 8:58
Valdyr14-Jan-09 8:58 
AnswerRe: GDI+ refresh image (C++) Pin
Valdyr14-Jan-09 9:07
Valdyr14-Jan-09 9:07 
Question[OpenGL] multithread drawing Pin
King Tran10-Jan-09 15:58
King Tran10-Jan-09 15:58 
AnswerRe: [OpenGL] multithread drawing Pin
xavierkj13-Jul-09 0:35
xavierkj13-Jul-09 0:35 
QuestionProgrammatically Detecting GPU Specs (shading processors) Pin
Daniel Sparks7-Jan-09 8:11
Daniel Sparks7-Jan-09 8:11 
QuestionSIP phone and Flash Pin
bigphish1-Jan-09 21:43
bigphish1-Jan-09 21:43 
QuestionAdding a jpeg to a postscript file Pin
guruthos1-Jan-09 12:09
guruthos1-Jan-09 12:09 
Questionopen gl: getting texture dimensions from a texture handle Pin
Jim Crafton30-Dec-08 13:11
Jim Crafton30-Dec-08 13:11 
AnswerRe: open gl: getting texture dimensions from a texture handle Pin
El Corazon1-Jan-09 6:59
El Corazon1-Jan-09 6:59 
GeneralRe: open gl: getting texture dimensions from a texture handle Pin
Jim Crafton1-Jan-09 7:08
Jim Crafton1-Jan-09 7:08 
QuestionJPEG compression utility Pin
jesarg29-Dec-08 15:47
jesarg29-Dec-08 15:47 
AnswerRe: JPEG compression utility Pin
Tim Craig29-Dec-08 17:55
Tim Craig29-Dec-08 17:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.