Click here to Skip to main content
15,915,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Unhandled exeption when using shell functions Pin
l a u r e n19-May-02 12:07
l a u r e n19-May-02 12:07 
GeneralA basic question on creating a window Pin
Still learning how to code19-May-02 10:56
Still learning how to code19-May-02 10:56 
GeneralRe: A basic question on creating a window Pin
Joaquín M López Muñoz19-May-02 11:03
Joaquín M López Muñoz19-May-02 11:03 
GeneralRe: A basic question on creating a window Pin
Still learning how to code20-May-02 19:29
Still learning how to code20-May-02 19:29 
Generalwtf!! Pin
l a u r e n19-May-02 11:02
l a u r e n19-May-02 11:02 
GeneralRe: wtf!! Pin
Joaquín M López Muñoz19-May-02 11:00
Joaquín M López Muñoz19-May-02 11:00 
Generalmessages Pin
S van Leent19-May-02 10:14
S van Leent19-May-02 10:14 
GeneralRe: messages Pin
Paul M Watt19-May-02 21:53
mentorPaul M Watt19-May-02 21:53 
You will need to subclass that child control if you want its Windows Messages (WM_XXX). The BN_ messages that you are recieving are called notifcations that get sent to the parent window.

When you subclass a window, you are basically placing your own WindowProc in the place of the original window proc for the child control. This will allow you to override any functionality that you want to, then pass the messages that you do not care about to the original window proc.

Look up sublcassing, and SetWindowLong in MSDN.

Good Luck!


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!

GeneralRe: messages Pin
S van Leent20-May-02 5:03
S van Leent20-May-02 5:03 
GeneralLSD and the Windows Desktop Pin
Shog919-May-02 9:53
sitebuilderShog919-May-02 9:53 
QuestionWhat is a DDE server? Pin
19-May-02 8:59
suss19-May-02 8:59 
AnswerRe: What is a DDE server? Pin
Michael P Butler19-May-02 9:39
Michael P Butler19-May-02 9:39 
AnswerRe: What is a DDE server? Pin
Paul M Watt19-May-02 9:41
mentorPaul M Watt19-May-02 9:41 
Generaltcp/ip and unicode... Pin
l a u r e n19-May-02 8:59
l a u r e n19-May-02 8:59 
GeneralRe: tcp/ip and unicode... Pin
Paul M Watt19-May-02 9:52
mentorPaul M Watt19-May-02 9:52 
GeneralRe: tcp/ip and unicode... Pin
l a u r e n19-May-02 10:29
l a u r e n19-May-02 10:29 
GeneralCStdioFile::Find() and CStdioFile::Insert() Pin
Emearg19-May-02 8:19
Emearg19-May-02 8:19 
GeneralRe: CStdioFile::Find() and CStdioFile::Insert() Pin
Joaquín M López Muñoz19-May-02 11:47
Joaquín M López Muñoz19-May-02 11:47 
GeneralRe: CString, not CStdioFile Pin
Emearg19-May-02 15:07
Emearg19-May-02 15:07 
GeneralRe: CString, not CStdioFile Pin
Ravi Bhavnani19-May-02 17:35
professionalRavi Bhavnani19-May-02 17:35 
GeneralBlackJack Pin
nywebhead19-May-02 5:44
nywebhead19-May-02 5:44 
GeneralRe: BlackJack Pin
Paul M Watt19-May-02 6:17
mentorPaul M Watt19-May-02 6:17 
GeneralRe: BlackJack Pin
Mazdak19-May-02 8:07
Mazdak19-May-02 8:07 
GeneralRe: BlackJack Pin
Paul M Watt19-May-02 8:37
mentorPaul M Watt19-May-02 8:37 
GeneralRe: BlackJack Pin
Mazdak19-May-02 9:09
Mazdak19-May-02 9:09 

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.