Click here to Skip to main content
15,889,335 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Distributed .net apps framework question... Pin
Member 9631-Jul-03 11:19
Member 9631-Jul-03 11:19 
GeneralRe: Distributed .net apps framework question... Pin
apferreira31-Jul-03 11:31
apferreira31-Jul-03 11:31 
QuestionHow does IIS get result of execution of hosted objects Pin
popopo31-Jul-03 6:44
popopo31-Jul-03 6:44 
GeneralBind a window to the side of the screen Pin
heelios30-Jul-03 6:15
heelios30-Jul-03 6:15 
GeneralRe: Bind a window to the side of the screen Pin
apferreira31-Jul-03 12:23
apferreira31-Jul-03 12:23 
GeneralC# and BitBlt Pin
aw1ay29-Jul-03 21:08
aw1ay29-Jul-03 21:08 
GeneralRe: C# and BitBlt Pin
S O S3-Aug-03 4:54
S O S3-Aug-03 4:54 
GeneralRe: C# and BitBlt Pin
J. Dunlap4-Aug-03 13:33
J. Dunlap4-Aug-03 13:33 
The reason for this is stated in this Knowledge Base article[^].

Using GDI on a GDI+ Graphics Object Backed by a Bitmap
When Graphics::GetHDC() is called for a Graphics object that is backed by a bitmap rather than the screen, a memory HDC is created and a new HBITMAP is created and selected into the memory HDC. This new memory bitmap is not initialized with the original bitmap's image but rather with a sentinel pattern, which allows GDI+ to track changes to the bitmap. Any changes that are made to the memory bitmap through the use of GDI code become apparent in changes to the sentinel pattern. When Graphics::ReleaseHDC() is called, those changes are copied back to the original bitmap. Because the memory bitmap is not initialized with the bitmap's image, an HDC that is obtained in this way should be considered "write only" and is therefore not suitable for use with ROPs, the use of which requires the ability to read the target, like R2_XOR. Also, there is a performance cost to this approach because GDI+ must copy the changes back to the original bitmap.



"Blessed are the peacemakers, for they shall be called sons of God." - Jesus

"You must be the change you wish to see in the world." - Mahatma Gandhi







Generalremote installation from a webserver Pin
bhatti8129-Jul-03 20:37
bhatti8129-Jul-03 20:37 
GeneralButtons on the mainmenu Pin
phimix29-Jul-03 3:19
phimix29-Jul-03 3:19 
GeneralRe: Buttons on the mainmenu Pin
leppie29-Jul-03 7:04
leppie29-Jul-03 7:04 
GeneralRe: Buttons on the mainmenu Pin
phimix29-Jul-03 19:55
phimix29-Jul-03 19:55 
GeneralHelp Workshop Pin
vikramlinux28-Jul-03 20:48
vikramlinux28-Jul-03 20:48 
GeneralRe: Help Workshop Pin
phimix29-Jul-03 3:14
phimix29-Jul-03 3:14 
Questionsizeof Size.Width == Int16???? Pin
Ben-hadad28-Jul-03 10:43
Ben-hadad28-Jul-03 10:43 
AnswerRe: sizeof Size.Width == Int16???? Pin
J. Dunlap28-Jul-03 10:47
J. Dunlap28-Jul-03 10:47 
GeneralRe: sizeof Size.Width == Int16???? Pin
Ben-hadad28-Jul-03 11:42
Ben-hadad28-Jul-03 11:42 
GeneralRe: sizeof Size.Width == Int16???? Pin
J. Dunlap28-Jul-03 11:50
J. Dunlap28-Jul-03 11:50 
AnswerRe: sizeof Size.Width == Int16???? Pin
leppie29-Jul-03 7:53
leppie29-Jul-03 7:53 
QuestionInstall without the dotnetfx.exe? Pin
Jm6k28-Jul-03 8:47
Jm6k28-Jul-03 8:47 
AnswerRe: Install without the dotnetfx.exe? Pin
Not Active28-Jul-03 9:31
mentorNot Active28-Jul-03 9:31 
GeneralRe: Install without the dotnetfx.exe? Pin
Jm6k28-Jul-03 11:15
Jm6k28-Jul-03 11:15 
AnswerRe: Install without the dotnetfx.exe? Pin
Adam Durity1-Aug-03 9:42
Adam Durity1-Aug-03 9:42 
GeneralDebugger Customization Pin
Nathan Blomquist28-Jul-03 2:48
Nathan Blomquist28-Jul-03 2:48 
GeneralRe: Debugger Customization Pin
leppie28-Jul-03 7:03
leppie28-Jul-03 7:03 

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.