Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: post script file printing Pin
Shiva Prasad24-Aug-05 1:16
Shiva Prasad24-Aug-05 1:16 
GeneralRe: post script file printing Pin
leelamaheshb24-Aug-05 20:06
leelamaheshb24-Aug-05 20:06 
GeneralSetLayeredWindowAttributes & Child windows :(( Pin
Hamed Musavi23-Aug-05 19:18
Hamed Musavi23-Aug-05 19:18 
GeneralRe: SetLayeredWindowAttributes & Child windows :(( Pin
Christian Graus23-Aug-05 19:30
protectorChristian Graus23-Aug-05 19:30 
GeneralRe: SetLayeredWindowAttributes & Child windows :(( Pin
Hamed Musavi24-Aug-05 0:47
Hamed Musavi24-Aug-05 0:47 
GeneralRe: SetLayeredWindowAttributes & Child windows :(( Pin
Shog924-Aug-05 11:23
sitebuilderShog924-Aug-05 11:23 
GeneralRe: SetLayeredWindowAttributes & Child windows :(( Pin
Hamed Musavi24-Aug-05 18:32
Hamed Musavi24-Aug-05 18:32 
GeneralRe: SetLayeredWindowAttributes & Child windows :(( Pin
Shog924-Aug-05 19:45
sitebuilderShog924-Aug-05 19:45 
Hamed Mosavi wrote:
If you have time, would it be possible to describe the process more clearly! (How should I render child controls?)

I wish i could give you a more complete answer, but while it's something i've put a bit of thought into, i've never gotten around to actually trying to implement it (the second solution, that is). The idea is, all the standard controls will respond to WM_PRINT by rendering themselves into the specified device context. If you can detect (or correctly predict) when they need to be redrawn, you can maintain an offscreen bitmap containing the current appearances of all the children, and use UpdateLayeredWindow() to update the screen with this. In practice, it would probably work better with some controls than with others.

You must be careful in the forest
Broken glass and rusty nails
If you're to bring back something for us
I have bullets for sale...

GeneralRe: SetLayeredWindowAttributes & Child windows :(( Pin
Hamed Musavi25-Aug-05 9:33
Hamed Musavi25-Aug-05 9:33 
GeneralLinker errrors Pin
Christian Graus23-Aug-05 19:10
protectorChristian Graus23-Aug-05 19:10 
GeneralRe: Linker errrors Pin
MailtoGops23-Aug-05 19:27
MailtoGops23-Aug-05 19:27 
GeneralRe: Linker errrors Pin
Christian Graus23-Aug-05 19:29
protectorChristian Graus23-Aug-05 19:29 
GeneralRe: Linker errrors Pin
Luis Alonso Ramos23-Aug-05 19:39
Luis Alonso Ramos23-Aug-05 19:39 
GeneralRe: Linker errrors Pin
Christian Graus23-Aug-05 19:45
protectorChristian Graus23-Aug-05 19:45 
GeneralRe: Linker errrors Pin
Luis Alonso Ramos23-Aug-05 20:07
Luis Alonso Ramos23-Aug-05 20:07 
GeneralRe: Linker errrors Pin
Trollslayer23-Aug-05 22:31
mentorTrollslayer23-Aug-05 22:31 
GeneralRe: Linker errrors Pin
Weiye Chen23-Aug-05 21:31
Weiye Chen23-Aug-05 21:31 
GeneralGet Sharing folders... Pin
mvnevis23-Aug-05 18:13
mvnevis23-Aug-05 18:13 
GeneralWhat's the process of Message Map to a MFC-based Application Programe Pin
shanzy23-Aug-05 18:09
shanzy23-Aug-05 18:09 
GeneralRe: What's the process of Message Map to a MFC-based Application Programe Pin
Christian Graus23-Aug-05 18:34
protectorChristian Graus23-Aug-05 18:34 
GeneralRe: What's the process of Message Map to a MFC-based Application Programe Pin
shanzy23-Aug-05 18:44
shanzy23-Aug-05 18:44 
Generalsharing folder.... Pin
mvnevis23-Aug-05 18:06
mvnevis23-Aug-05 18:06 
Generalupdating global variable using a mutex Pin
elephantstar23-Aug-05 16:51
elephantstar23-Aug-05 16:51 
GeneralRe: updating global variable using a mutex Pin
Rage23-Aug-05 21:53
professionalRage23-Aug-05 21:53 
GeneralRe: updating global variable using a mutex Pin
elephantstar24-Aug-05 7:34
elephantstar24-Aug-05 7:34 

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.