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

C / C++ / MFC

 
GeneralRe: deleting directories with files Pin
Dominik Reichl8-Nov-03 23:43
Dominik Reichl8-Nov-03 23:43 
GeneralPaint caption bar without flicker Pin
minhtriet8-Nov-03 21:49
minhtriet8-Nov-03 21:49 
GeneralRe: Paint caption bar without flicker Pin
Roger Allen10-Nov-03 1:10
Roger Allen10-Nov-03 1:10 
GeneralNeed help with SendMessage Pin
David Fleming8-Nov-03 19:48
David Fleming8-Nov-03 19:48 
GeneralRe: Need help with SendMessage Pin
Andrew Walker8-Nov-03 20:08
Andrew Walker8-Nov-03 20:08 
GeneralRe: Need help with SendMessage Pin
David Fleming9-Nov-03 16:40
David Fleming9-Nov-03 16:40 
GeneralRe: Need help with SendMessage Pin
User 66589-Nov-03 1:01
User 66589-Nov-03 1:01 
GeneralRe: Need help with SendMessage Pin
David Fleming9-Nov-03 16:48
David Fleming9-Nov-03 16:48 
Yeah, I've been there. Personally I find it decidedly NOT helpful.

TCN_SELCHANGE Notification  

--------------------------------------------------------------------------------

Notifies a tab control's parent window that the currently selected tab has changed. This message is sent in the form of a WM_NOTIFY message. 

Syntax

TCN_SELCHANGE 

    lpnmhdr = (LPNMHDR) lParam; 
Parameters

lpnmhdr
Pointer to an NMHDR structure. The hwndFrom member is the handle to the tab control. The idFrom member is the child window identifier of the tab control. The code member is TCN_SELCHANGE. 
Return Value

No return value.

Remarks

To determine the currently selected tab, use the TabCtrl_GetCurSel macro. 

Notification Requirements

Minimum DLL Version None 
Header commctrl.h 
Minimum operating systems Windows NT 3.51, Windows 95 

See Also

TCN_SELCHANGING


Then if I go to SendMessage itself, I get:
SendMessage Function  

--------------------------------------------------------------------------------

The SendMessage function sends the specified message to a window or windows. It calls the window procedure for the specified window and does not return until the window procedure has processed the message. 

To send a message and return immediately, use the SendMessageCallback or SendNotifyMessage function. To post a message to a thread's message queue and return immediately, use the PostMessage or PostThreadMessage function.


Syntax

LRESULT SendMessage(          HWND hWnd,
    UINT Msg,
    WPARAM wParam,
    LPARAM lParam
);
Parameters

hWnd
[in] Handle to the window whose window procedure will receive the message. If this parameter is HWND_BROADCAST, the message is sent to all top-level windows in the system, including disabled or invisible unowned windows, overlapped windows, and pop-up windows; but the message is not sent to child windows.
Msg
[in] Specifies the message to be sent.
wParam
[in] Specifies additional message-specific information.
lParam
[in] Specifies additional message-specific information.
Return Value

The return value specifies the result of the message processing; it depends on the message sent.


And that doesn't tell me anything about what I need in lParam or wParam,
nor does it tell me where I might go about finding such information.
*That's* actually the info I'm hoping to get my hands on -
and an actual code example would be swell.
GeneralRe: Need help with SendMessage Pin
Antti Keskinen10-Nov-03 8:27
Antti Keskinen10-Nov-03 8:27 
GeneralRe: Need help with SendMessage Pin
David Fleming10-Nov-03 18:05
David Fleming10-Nov-03 18:05 
GeneralHelp Me Please Pin
LOSTTWARE.com8-Nov-03 17:58
LOSTTWARE.com8-Nov-03 17:58 
GeneralRe: Help Me Please Pin
LOSTTWARE.com8-Nov-03 17:59
LOSTTWARE.com8-Nov-03 17:59 
GeneralRe: Help Me Please Pin
Jenyka9-Nov-03 5:38
Jenyka9-Nov-03 5:38 
GeneralRe: Help Me Please Pin
Michael P Butler10-Nov-03 0:34
Michael P Butler10-Nov-03 0:34 
Generalthory question to professional developers Pin
R. Thomas8-Nov-03 17:19
R. Thomas8-Nov-03 17:19 
GeneralRe: thory question to professional developers Pin
Michael P Butler10-Nov-03 0:31
Michael P Butler10-Nov-03 0:31 
QuestionCMemFile? Pin
closecall8-Nov-03 14:50
closecall8-Nov-03 14:50 
AnswerRe: CMemFile? Pin
Peter Molnar8-Nov-03 15:56
Peter Molnar8-Nov-03 15:56 
GeneralTrying to capture video using Visual C++ (MFC) Please help Pin
Member 6921998-Nov-03 14:23
Member 6921998-Nov-03 14:23 
GeneralRe: Trying to capture video using Visual C++ (MFC) Please help Pin
Andrew Walker8-Nov-03 18:26
Andrew Walker8-Nov-03 18:26 
GeneralRe: Trying to capture video using Visual C++ (MFC) Please help Pin
includeh109-Nov-03 0:45
includeh109-Nov-03 0:45 
GeneralRe: Trying to capture video using Visual C++ (MFC) Please help Pin
Andrew Walker9-Nov-03 9:37
Andrew Walker9-Nov-03 9:37 
GeneralHelp Making a Slope Function in C Pin
Anonymous8-Nov-03 14:07
Anonymous8-Nov-03 14:07 
GeneralI need help about how to use OpenSSL library. Pin
Artem Moroz8-Nov-03 11:39
Artem Moroz8-Nov-03 11:39 
GeneralRe: I need help about how to use OpenSSL library. Pin
Johnny ²9-Nov-03 3:37
Johnny ²9-Nov-03 3:37 

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.