Win32 |
Author |
Message |
Marko Guest
|
|
Back to top |
|
|
Marko Guest
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Nov 21, 2006 5:38 pm Post subject: |
|
|
RC: What is the process by which the cursor gets set?
"The WM_SETCURSOR goes to the child window beneath the cursor.
(Obviously it goes to the child window and not the parent, because the
documentation says that DefWindowProc forward the message to its
parent. if the message went to the parent originally, then there would be
nobody to forward the message to!) " |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Wed Jan 31, 2007 5:06 pm Post subject: |
|
|
CodeGuru: Multiple Views Layout Without a Splitter
"Many times, I have stumbled across questions regarding using multiple
views shown in one frame without a splitter window. Therefore, I decided
to write a small application showing how that can be done." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Mon Feb 19, 2007 6:46 pm Post subject: |
|
|
RC: What does LockWindowUpdate do?
"When a window is locked, all attempt to draw into it or its children fail.
Instead of drawing, the window manager remembers which parts of the window
the application tried to draw into, and when the window is unlocked, those
areas are invalidated so that the application gets another WM_PAINT message,
thereby bringing the screen contents back in sync with what the application
believed to be on the screen. " |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Mar 21, 2007 8:39 am Post subject: |
|
|
WM_PAINT changes in Windows
"The system does double buffering for you, but, there is no good way to
synchronize the drawing with a render-pass. The render pass is triggered
by the the v-blank of your screen, plus some other selected synchronization
point.
The redirection bitmap of a top-level window is treated as dirty at the end
of each GDI operation that releases the Dev-Lock. If you manage to draw
everything between two render-passes, then, there is no need to double
buffer. If not, you might have visual tearing, even if not as bad as if you
were drawing to the screen." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Tue May 05, 2009 3:23 pm Post subject: |
|
|
cboard - Extended Desktop Dimensions
"Why can't you use rcMonitor member of MONITORINFOEX to identify the co-
ordinates of your non pimary display? This member gives you the virtual scre-
en coordinates of your dual monitor setup." |
|
Back to top |
|
|
|