Click here to Skip to main content
15,892,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralColor Picker Pin
Scozturk15-Jun-04 21:11
professionalScozturk15-Jun-04 21:11 
GeneralRe: Color Picker Pin
Johan Rosengren15-Jun-04 22:14
Johan Rosengren15-Jun-04 22:14 
QuestionHow to message pass from one window to another window? Pin
Rajesh_K_Sharma15-Jun-04 20:17
Rajesh_K_Sharma15-Jun-04 20:17 
AnswerRe: How to message pass from one window to another window? Pin
toxcct15-Jun-04 21:00
toxcct15-Jun-04 21:00 
Questionhow to force a tree control redraw ? Pin
Anonymous15-Jun-04 20:12
Anonymous15-Jun-04 20:12 
GeneralList Control Header resizing problem Pin
Renjith Ramachandran15-Jun-04 20:12
Renjith Ramachandran15-Jun-04 20:12 
GeneralRe: List Control Header resizing problem Pin
Cohen15-Jun-04 23:50
Cohen15-Jun-04 23:50 
GeneralRe: List Control Header resizing problem Pin
Renjith Ramachandran16-Jun-04 0:24
Renjith Ramachandran16-Jun-04 0:24 
Cohen , THANKS FOR YOUR RESPONSE


IN THAT ARTICLE THEY SAYS


The header control in the ListView control sends notification to the parent window (e.i. the ListView) before it begins resizing a column. We can override the OnNotify() function in the CListCtrl derived class to handle this notification. The code below prevents resizing of all columns. Note that the resize cursor still shows up.
BOOL CMyListCtrl::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
switch (((NMHDR*)lParam)->code)
{
case HDN_BEGINTRACKW:
case HDN_BEGINTRACKA:
*pResult = TRUE; // disable tracking
return TRUE; // Processed message
}

return CListCtrl::OnNotify(wParam, lParam, pResult);
}

BUT DIDNT WORK WITH MY LIST CONTROL....
ANY IDEA ??????????



mind is everything.
QuestionHow to show tooltip in toolbar Pin
Sumit Kapoor15-Jun-04 20:06
Sumit Kapoor15-Jun-04 20:06 
QuestionHow to same HTMLs into a single file? Pin
Tcpip200515-Jun-04 17:58
Tcpip200515-Jun-04 17:58 
AnswerRe: How to same HTMLs into a single file? Pin
toxcct15-Jun-04 20:55
toxcct15-Jun-04 20:55 
AnswerRe: How to same HTMLs into a single file? Pin
Scozturk15-Jun-04 21:17
professionalScozturk15-Jun-04 21:17 
GeneralC++ copy constructor questions Pin
Indrawati15-Jun-04 17:30
Indrawati15-Jun-04 17:30 
GeneralRe: C++ copy constructor questions Pin
Tim Smith15-Jun-04 17:48
Tim Smith15-Jun-04 17:48 
GeneralRe: C++ copy constructor questions Pin
Michael Dunn15-Jun-04 18:36
sitebuilderMichael Dunn15-Jun-04 18:36 
GeneralRe: C++ copy constructor questions Pin
Anonymous15-Jun-04 18:55
Anonymous15-Jun-04 18:55 
GeneralRe: C++ copy constructor questions Pin
Michael Dunn15-Jun-04 19:00
sitebuilderMichael Dunn15-Jun-04 19:00 
GeneralRe: C++ copy constructor questions Pin
Tim Smith16-Jun-04 3:16
Tim Smith16-Jun-04 3:16 
GeneralRe: C++ copy constructor questions Pin
Tim Smith16-Jun-04 4:31
Tim Smith16-Jun-04 4:31 
GeneralRe: Sutter's GotW #036 Pin
Tim Smith16-Jun-04 3:45
Tim Smith16-Jun-04 3:45 
GeneralStatus Bar Misplaced Pin
RobertW10015-Jun-04 16:43
RobertW10015-Jun-04 16:43 
GeneralRe: Status Bar Misplaced Pin
toxcct15-Jun-04 20:52
toxcct15-Jun-04 20:52 
GeneralRe: Status Bar Misplaced Pin
RobertW10016-Jun-04 2:28
RobertW10016-Jun-04 2:28 
GeneralRe: Status Bar Misplaced Pin
toxcct16-Jun-04 2:32
toxcct16-Jun-04 2:32 
GeneralRe: Status Bar Misplaced Pin
RobertW10017-Jun-04 2:11
RobertW10017-Jun-04 2:11 

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.