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

C / C++ / MFC

 
GeneralAdding a column in Windows Explorer Pin
gordingin14-Jun-02 5:37
gordingin14-Jun-02 5:37 
GeneralRe: Adding a column in Windows Explorer Pin
Corto Maltese14-Jun-02 7:42
Corto Maltese14-Jun-02 7:42 
GeneralRun Time Caption Change Pin
Knowledge Seeker14-Jun-02 4:56
Knowledge Seeker14-Jun-02 4:56 
GeneralRe: Run Time Caption Change Pin
Chris Losinger14-Jun-02 5:06
professionalChris Losinger14-Jun-02 5:06 
GeneralRe: Run Time Caption Change Pin
Renjith Ramachandran14-Jun-02 6:45
Renjith Ramachandran14-Jun-02 6:45 
QuestionHow can I associate a procedure to already registered class "Edit" in SDK. Pin
S.Maharajan14-Jun-02 4:59
S.Maharajan14-Jun-02 4:59 
AnswerRe: How can I associate a procedure to already registered class "Edit" in SDK. Pin
Joaquín M López Muñoz14-Jun-02 6:34
Joaquín M López Muñoz14-Jun-02 6:34 
AnswerRe: How can I associate a procedure to already registered class "Edit" in SDK. Pin
Paul M Watt14-Jun-02 17:20
mentorPaul M Watt14-Jun-02 17:20 
What you need to do is when you call SetWindowLong, save the old WindowProc that is returned from that window.

Then if you do not want to handle that message you need to call the window proc that you cached. But you cannot call it directly, you will need to call CallWindowProc with the previous window proc as a parameter. CallWindowProc shields you from the possibility that you are dealing with a UNICODE window when you have create an ansi version. Windows automatically thunks all of the parameters for you.

CAlling DefWindowProc is not the answer because this is the default window procedure for all windows. There is very little processing that is done in DefWindowProc.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralData type that is 8 bytes or 64 bits Pin
JMajors9814-Jun-02 5:00
JMajors9814-Jun-02 5:00 
GeneralRe: Data type that is 8 bytes or 64 bits Pin
Wictor Wilén14-Jun-02 5:17
Wictor Wilén14-Jun-02 5:17 
GeneralRe: Data type that is 8 bytes or 64 bits Pin
Michael Dunn14-Jun-02 16:29
sitebuilderMichael Dunn14-Jun-02 16:29 
GeneralIE capture my KB Messages Pin
S.Maharajan14-Jun-02 4:54
S.Maharajan14-Jun-02 4:54 
GeneralEdge Detection Pin
Knowledge Seeker14-Jun-02 4:49
Knowledge Seeker14-Jun-02 4:49 
GeneralRe: Edge Detection Pin
Chris Losinger14-Jun-02 5:05
professionalChris Losinger14-Jun-02 5:05 
GeneralRe: Edge Detection Pin
lucy14-Jun-02 6:43
lucy14-Jun-02 6:43 
GeneralRe: Edge Detection Pin
Christian Graus14-Jun-02 12:43
protectorChristian Graus14-Jun-02 12:43 
GeneralSerial Comm Record Prog at 115K Pin
JohnnyG14-Jun-02 4:52
JohnnyG14-Jun-02 4:52 
GeneralRe: Serial Comm Record Prog at 115K Pin
Roger Allen14-Jun-02 5:42
Roger Allen14-Jun-02 5:42 
GeneralRe: Serial Comm Record Prog at 115K Pin
JohnnyG14-Jun-02 7:10
JohnnyG14-Jun-02 7:10 
GeneralCustom icon for a namespace extension Pin
dabs14-Jun-02 2:44
dabs14-Jun-02 2:44 
GeneralGetting Stand-by and Hibernate Time Pin
Sandeep Shetty14-Jun-02 2:15
Sandeep Shetty14-Jun-02 2:15 
QuestionVC6 with Windows debug symbols? Pin
Michael Hansen14-Jun-02 2:04
Michael Hansen14-Jun-02 2:04 
AnswerRe: VC6 with Windows debug symbols? Pin
Rama Krishna Vavilala14-Jun-02 2:18
Rama Krishna Vavilala14-Jun-02 2:18 
GeneralRe: VC6 with Windows debug symbols? Pin
Michael Hansen14-Jun-02 2:24
Michael Hansen14-Jun-02 2:24 
GeneralRe: VC6 with Windows debug symbols? Pin
Michael Hansen14-Jun-02 2:41
Michael Hansen14-Jun-02 2:41 

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.