Click here to Skip to main content
15,902,198 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Cannot access the ClassView information file???? Pin
Anonymous30-Dec-03 16:18
Anonymous30-Dec-03 16:18 
QuestionHow can i get this event what the virtual address of my process be changed by the windows?? Pin
zx_sanjin30-Dec-03 14:57
zx_sanjin30-Dec-03 14:57 
QuestionHow can i get this event what the virtual address of my process be changed by the windows?? Pin
zx_sanjin30-Dec-03 14:54
zx_sanjin30-Dec-03 14:54 
QuestionHow to develop pluggable application? Pin
Anonymous30-Dec-03 14:53
Anonymous30-Dec-03 14:53 
AnswerRe: How to develop pluggable application? Pin
Monty230-Dec-03 18:47
Monty230-Dec-03 18:47 
GeneralRe: How to develop pluggable application? Pin
Anonymous31-Dec-03 3:55
Anonymous31-Dec-03 3:55 
AnswerRe: How to develop pluggable application? Pin
Roger Allen1-Jan-04 23:51
Roger Allen1-Jan-04 23:51 
GeneralWindow background subclassing Pin
mdb30-Dec-03 11:24
mdb30-Dec-03 11:24 
hi,

i'm writing a program to change the background of a window i don't own. and it almost works.

i subclass the window and intercept the WM_PAINT message, the WM_ERASEBKGND message, and the WM_DESTROY message.

when the WM_PAINT message is received we call the original WndProc with the paint message, we then create a DC and paint our background into it. Then call the WM_PRINT message to the old WndProc and ask it to draw the controls and stuff onto the DC then paint the DC in place (on screen).

we eat the WM_ERASEBKGND messages.

and when we get the WM_DESTROY message we set down.

all other messages are returned to the original process.

this basic layout seems to work but no labels or shapes are drawn (window i'm subclassing was deployed in VB but i assume it will be the same in many apps).

thanks for your help

mdb
Generaldialog boxes Pin
HackerBoy30-Dec-03 10:45
HackerBoy30-Dec-03 10:45 
GeneralRe: dialog boxes Pin
yodlee9930-Dec-03 11:37
yodlee9930-Dec-03 11:37 
GeneralRe: dialog boxes Pin
Ravi Bhavnani30-Dec-03 11:59
professionalRavi Bhavnani30-Dec-03 11:59 
GeneralAmount of RAM on a remote machine Pin
orcun colak30-Dec-03 10:38
orcun colak30-Dec-03 10:38 
GeneralRe: Amount of RAM on a remote machine Pin
Balkrishna Talele30-Dec-03 21:45
Balkrishna Talele30-Dec-03 21:45 
Generalblt and directx Pin
ns30-Dec-03 9:33
ns30-Dec-03 9:33 
GeneralExe files Pin
HackerBoy30-Dec-03 7:56
HackerBoy30-Dec-03 7:56 
GeneralRe: Exe files Pin
User 665830-Dec-03 8:17
User 665830-Dec-03 8:17 
GeneralRe: Exe files Pin
HackerBoy30-Dec-03 8:24
HackerBoy30-Dec-03 8:24 
GeneralRe: Exe files Pin
User 665830-Dec-03 8:26
User 665830-Dec-03 8:26 
GeneralRe: Exe files Pin
HackerBoy30-Dec-03 8:54
HackerBoy30-Dec-03 8:54 
GeneralRe: Exe files Pin
Roger Wright30-Dec-03 9:43
professionalRoger Wright30-Dec-03 9:43 
GeneralRe: Exe files Pin
HackerBoy30-Dec-03 9:55
HackerBoy30-Dec-03 9:55 
GeneralRe: Exe files Pin
Roger Wright30-Dec-03 10:22
professionalRoger Wright30-Dec-03 10:22 
GeneralRe: Exe files Pin
HackerBoy30-Dec-03 10:35
HackerBoy30-Dec-03 10:35 
GeneralRe: Exe files Pin
Roger Wright30-Dec-03 11:00
professionalRoger Wright30-Dec-03 11:00 
GeneralRe: Exe files Pin
Niall Barr30-Dec-03 11:28
professionalNiall Barr30-Dec-03 11:28 

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.