Click here to Skip to main content
15,911,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionChange wallpaper & Active Desktop ? Pin
blueinred3-Aug-03 16:13
blueinred3-Aug-03 16:13 
AnswerRe: Change wallpaper & Active Desktop ? Pin
zeki yugnak4-Aug-03 3:18
zeki yugnak4-Aug-03 3:18 
GeneralRe: Change wallpaper & Active Desktop ? Pin
zeki yugnak4-Aug-03 3:20
zeki yugnak4-Aug-03 3:20 
GeneralUnable to format text in a RichEdit, not using MFC Pin
Aidman3-Aug-03 10:49
Aidman3-Aug-03 10:49 
Generalfound the problem Pin
Aidman3-Aug-03 12:58
Aidman3-Aug-03 12:58 
Generalnoob platform sdk/borland c++ 5.5 setup question Pin
rodent¹3-Aug-03 9:08
rodent¹3-Aug-03 9:08 
GeneralAfxWndProc hook Pin
Joe49163-Aug-03 8:44
Joe49163-Aug-03 8:44 
GeneralRe: AfxWndProc hook Pin
MAAK3-Aug-03 11:33
MAAK3-Aug-03 11:33 
Well, as far as I know that MFC uses window subclassing to override the default WndProc. Hooking is usually used to install the MFC WndProc to the created window. I dont know what hooks exaclty, but definitely not WH_CALLWNDPROC hook or anything like it, which involve notification of frequent events. Usually WH_CBT is used, which can notify the hooking application about creation of windows.

Another thing, there is a difference of local hooking used in this process and global hooking in which the hook is installed over the whole system.

To sum up, the hooking is used just to initiate subclassing and it's local to the process. Subclassing doesnt degrade performance (actually it is done using APIs). So if there existed a degreade on performance of MFC application I think hooking wont be the reason.

Am saying this with accordance to my knowledge, hope if there is anything wrong someone would correct it
GeneralRe: AfxWndProc hook Pin
Ryan Binns3-Aug-03 20:20
Ryan Binns3-Aug-03 20:20 
GeneralRe: AfxWndProc hook Pin
Joe49169-Aug-03 3:52
Joe49169-Aug-03 3:52 
GeneralRedistributing MFC from the web Pin
Shutter3-Aug-03 6:38
Shutter3-Aug-03 6:38 
GeneralRe: Redistributing MFC from the web Pin
Cathy3-Aug-03 7:54
Cathy3-Aug-03 7:54 
GeneralWindow not receiving all its messages Pin
Marcus Spitzmiller3-Aug-03 6:07
Marcus Spitzmiller3-Aug-03 6:07 
GeneralRe: Window not receiving all its messages Pin
Cathy3-Aug-03 7:59
Cathy3-Aug-03 7:59 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller3-Aug-03 8:08
Marcus Spitzmiller3-Aug-03 8:08 
GeneralRe: Window not receiving all its messages Pin
Cathy3-Aug-03 13:48
Cathy3-Aug-03 13:48 
GeneralRe: Window not receiving all its messages Pin
Joe Woodbury3-Aug-03 9:14
professionalJoe Woodbury3-Aug-03 9:14 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller3-Aug-03 10:37
Marcus Spitzmiller3-Aug-03 10:37 
GeneralRe: Window not receiving all its messages Pin
Joe Woodbury3-Aug-03 18:11
professionalJoe Woodbury3-Aug-03 18:11 
GeneralRe: Window not receiving all its messages Pin
Marcus Spitzmiller4-Aug-03 3:20
Marcus Spitzmiller4-Aug-03 3:20 
GeneralFlat CComboBox and CIPAddressCtr Pin
Eugene Pustovoyt3-Aug-03 5:41
Eugene Pustovoyt3-Aug-03 5:41 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
PJ Arends3-Aug-03 8:45
professionalPJ Arends3-Aug-03 8:45 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
Eugene Pustovoyt3-Aug-03 9:07
Eugene Pustovoyt3-Aug-03 9:07 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
PJ Arends3-Aug-03 9:24
professionalPJ Arends3-Aug-03 9:24 
GeneralRe: Flat CComboBox and CIPAddressCtr Pin
Eugene Pustovoyt3-Aug-03 17:52
Eugene Pustovoyt3-Aug-03 17:52 

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.