Click here to Skip to main content
15,916,600 members
Home / Discussions / Article Writing
   

Article Writing

 
General"use DHTML" option missing in Code Project Discussion Boards Pin
Django14-Aug-01 9:29
Django14-Aug-01 9:29 
General"use DHTML" option missing in Code Project Discussion Boards Pin
Django14-Aug-01 9:27
Django14-Aug-01 9:27 
QuestionCall Run Dialog? Pin
13-Aug-01 11:11
suss13-Aug-01 11:11 
AnswerRe: Call Run Dialog? Pin
J Patel13-Aug-01 12:06
J Patel13-Aug-01 12:06 
GeneralDrag and Drop Pin
Steve Thresher13-Aug-01 6:31
Steve Thresher13-Aug-01 6:31 
GeneralPlease help Pin
12-Aug-01 22:57
suss12-Aug-01 22:57 
GeneralVARIANT data type. Pin
11-Aug-01 21:37
suss11-Aug-01 21:37 
Generalroute all drawing to a memoryDC Pin
10-Aug-01 12:49
suss10-Aug-01 12:49 
I wish to divert all drawing from a default DC to a memoryDC, without waiting for the DC to draw and then copying.. In fact, that it draws to the window at all is a hindrance.

the ideal for me would be to divert only the Controls (TextEdits, ListBoxes, etc) into their own separate memoryDCs, however diverting an entire window into a memoryDC would also be feasible.

//////
just in case I have not been clear, I will give an example:

I create a window. I divert the window area into a memory dc+bitmap.. The window captures all of my events (for instance I might have a textbox which the user can type into), and although it draws to the memoryDC, the user sees nothing within the window itself.

At time "X" I take the memoryDC, blt it into a bitmap (or i guess it is already blitted in the case of the memoryDC?), and transfer it to disk, giving me images every X seconds or so..

the most imporant part though, is that the user does not see the contents of the window..
//////

If you can help with this, I would be extremely gratefulSmile | :) Boy oh boy I've been pulling my hair out over this.. I thought I could just do a "GetDC()->Detach(); GetDC()->Attach( -the memory DC which I created along with a bitmap -);" -> but no, this doesn't work for me..:Confused | :confused:

thanks tim:

Timothy Prepscius (timprepscius@hNoOtSmPaAiMl.com) <- remove NOSPAM
GeneralRe: route all drawing to a memoryDC Pin
11-Aug-01 16:56
suss11-Aug-01 16:56 
Generalspell checker!! source code Pin
sriks10-Aug-01 3:50
sriks10-Aug-01 3:50 
GeneralRe: spell checker!! source code Pin
Matt Gullett10-Aug-01 6:00
Matt Gullett10-Aug-01 6:00 
GeneralC Variable/type extraction Pin
Peter Liedholm9-Aug-01 23:26
Peter Liedholm9-Aug-01 23:26 
GeneralRich Edit 2.0 Pin
8-Aug-01 7:04
suss8-Aug-01 7:04 
GeneralRe: Rich Edit 2.0 Pin
16-Aug-01 0:27
suss16-Aug-01 0:27 
Generalantivirus software Pin
sadiq mohammed6-Aug-01 23:14
sadiq mohammed6-Aug-01 23:14 
Generalfile splitter Pin
6-Aug-01 4:14
suss6-Aug-01 4:14 
GeneralGetIpNetTable Pin
Heidyon5-Aug-01 17:23
Heidyon5-Aug-01 17:23 
GeneralTelephony API Pin
razizade4-Aug-01 22:58
razizade4-Aug-01 22:58 
QuestionMSAA class? Pin
Kurotora4-Aug-01 6:37
Kurotora4-Aug-01 6:37 
GeneralAccess VSS files from Command prompt using bat files Pin
mohith2-Aug-01 23:30
mohith2-Aug-01 23:30 
GeneralRe: Access VSS files from Command prompt using bat files Pin
Albert van Peppen16-Aug-01 23:11
professionalAlbert van Peppen16-Aug-01 23:11 
GeneralSQL Server and images Pin
Not Active1-Aug-01 21:03
mentorNot Active1-Aug-01 21:03 
GeneralChange window name... Pin
Patrick Grijsen1-Aug-01 15:53
Patrick Grijsen1-Aug-01 15:53 
GeneralRe: Change window name... update Pin
Patrick Grijsen2-Aug-01 11:06
Patrick Grijsen2-Aug-01 11:06 
GeneralRe: Change window name... update Pin
Carlos Antollini2-Aug-01 11:55
Carlos Antollini2-Aug-01 11: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.