Click here to Skip to main content
15,901,122 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalproblem with icon in a dll Pin
Mazdak5-Jun-03 4:02
Mazdak5-Jun-03 4:02 
GeneralEnd Process !! Pin
dgtuan5-Jun-03 3:50
dgtuan5-Jun-03 3:50 
GeneralRe: End Process !! Pin
Daniel Turini5-Jun-03 8:01
Daniel Turini5-Jun-03 8:01 
GeneralRe: End Process !! Pin
Cyrus Dang6-Jun-03 3:46
Cyrus Dang6-Jun-03 3:46 
GeneralCListCtrl question Pin
Shay Harel5-Jun-03 3:30
Shay Harel5-Jun-03 3:30 
GeneralRe: CListCtrl question Pin
Roger Allen5-Jun-03 3:41
Roger Allen5-Jun-03 3:41 
GeneralRe: CListCtrl question Pin
Shay Harel5-Jun-03 3:59
Shay Harel5-Jun-03 3:59 
GeneralRe: CListCtrl question Pin
Roger Allen5-Jun-03 4:25
Roger Allen5-Jun-03 4:25 
As long as its the parent window on the control the method should work. The only issue you may have is if you are creating the control yourself dynamically. In such cases you still need that line I mentioned, but just have to add the message map/function prototypes manually:

// meaage map
ON_NOTIFY(HDN_ENDTRACK, IDC_OF_LISTCONTROL, OnEndtrackListControl)

// function ptototype
afx_msg void OnEndtrackListControl(NMHDR* pNMHDR, LRESULT* pResult);

// function...
void CYourWnd::OnEndtrackListControl(NMHDR* pNMHDR, LRESULT* pResult) 
{
	HD_NOTIFY *phdn = (HD_NOTIFY *) pNMHDR;
	// TODO: Add your control notification handler code here
	*pResult = 0;
}



Roger Allen
Sonork 100.10016

Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003
GeneralRe: CListCtrl question Pin
Shay Harel5-Jun-03 4:37
Shay Harel5-Jun-03 4:37 
GeneralRe: CListCtrl question Pin
Shay Harel5-Jun-03 8:10
Shay Harel5-Jun-03 8:10 
GeneralCEdit and CSpinButtonCtrl Pin
CodeBrain5-Jun-03 3:24
CodeBrain5-Jun-03 3:24 
GeneralClient control device context Pin
Anonymous5-Jun-03 2:22
Anonymous5-Jun-03 2:22 
GeneralRe: Client control device context Pin
CodeBrain5-Jun-03 3:16
CodeBrain5-Jun-03 3:16 
GeneralError connecting to SQL db using ADO. Pin
IrishSonic5-Jun-03 2:21
IrishSonic5-Jun-03 2:21 
GeneralRe: Error connecting to SQL db using ADO. Pin
Spiros5-Jun-03 3:02
Spiros5-Jun-03 3:02 
QuestionOffice2003 looking toolbar!?? Pin
schaereran@gmx.net5-Jun-03 2:20
schaereran@gmx.net5-Jun-03 2:20 
AnswerRe: Office2003 looking toolbar!?? Pin
armentage5-Jun-03 3:42
armentage5-Jun-03 3:42 
GeneralRe: Office2003 looking toolbar!?? Pin
schaereran@gmx.net5-Jun-03 22:20
schaereran@gmx.net5-Jun-03 22:20 
GeneralRe: Office2003 looking toolbar!?? Pin
schaereran@gmx.net5-Jun-03 23:26
schaereran@gmx.net5-Jun-03 23:26 
GeneralFile scan Pin
Cedric Moonen5-Jun-03 1:24
Cedric Moonen5-Jun-03 1:24 
GeneralRe: File scan Pin
Ian Darling5-Jun-03 2:00
Ian Darling5-Jun-03 2:00 
GeneralRe: File scan Pin
Cedric Moonen5-Jun-03 2:17
Cedric Moonen5-Jun-03 2:17 
GeneralRe: File scan Pin
David Crow5-Jun-03 3:55
David Crow5-Jun-03 3:55 
GeneralIs there a "OnPaste(...)" - a CRichEdit question! Pin
Michael Pauli5-Jun-03 0:41
Michael Pauli5-Jun-03 0:41 
GeneralRe: Is there a "OnPaste(...)" - a CRichEdit question! Pin
Rage5-Jun-03 4:20
professionalRage5-Jun-03 4:20 

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.