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

C / C++ / MFC

 
GeneralRe: RichEditCtrl: How to use StreamIn and StreamOut RTF with bitmap info Pin
Jim Crafton12-Oct-04 5:22
Jim Crafton12-Oct-04 5:22 
GeneralPan/Tilt control guidline needed Pin
baboguru11-Oct-04 15:13
baboguru11-Oct-04 15:13 
Generalinput flow control Pin
Makutu11-Oct-04 14:54
Makutu11-Oct-04 14:54 
GeneralReal time monitoring Pin
jooo11-Oct-04 14:50
jooo11-Oct-04 14:50 
GeneralCListCtrl, OnBegintrack Pin
Vancouver11-Oct-04 14:06
Vancouver11-Oct-04 14:06 
GeneralRe: CListCtrl, OnBegintrack Pin
alex.barylski11-Oct-04 17:54
alex.barylski11-Oct-04 17:54 
GeneralRe: CListCtrl, OnBegintrack Pin
Vancouver11-Oct-04 18:43
Vancouver11-Oct-04 18:43 
GeneralRe: CListCtrl, OnBegintrack Pin
Adi Narayana11-Oct-04 23:48
Adi Narayana11-Oct-04 23:48 
BOOL CTSTListCtrl::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
switch (((NMHDR*)lParam)->code)
{
case HDN_BEGINTRACKW:
case HDN_BEGINTRACKA:
case HDN_DIVIDERDBLCLICKW:
case HDN_DIVIDERDBLCLICKA:
{
*pResult = TRUE; // disable tracking
return TRUE; // Processed message
}
}
return CListCtrl::OnNotify(wParam, lParam, pResult);
}

like in the above fucntion you have to handle all the four events and should not call the parent class's onnotify for the same events...

hope the above helps....

Gudluck
Adi
GeneralRe: CListCtrl, OnBegintrack Pin
Vancouver11-Oct-04 19:35
Vancouver11-Oct-04 19:35 
GeneralRe: CListCtrl, OnBegintrack Pin
Blake Miller15-Dec-04 10:09
Blake Miller15-Dec-04 10:09 
GeneralOnBegintrack, OnEndtrack Pin
Vancouver15-Dec-04 12:02
Vancouver15-Dec-04 12:02 
GeneralRe: OnBegintrack, OnEndtrack Pin
Blake Miller16-Dec-04 3:48
Blake Miller16-Dec-04 3:48 
Generalvector question... Pin
RobJones11-Oct-04 13:49
RobJones11-Oct-04 13:49 
GeneralRe: vector question... Pin
Bob Stanneveld11-Oct-04 23:44
Bob Stanneveld11-Oct-04 23:44 
GeneralRe: vector question... Pin
Jim Crafton12-Oct-04 5:25
Jim Crafton12-Oct-04 5:25 
GeneralCan't update a textbox Pin
V5Dave11-Oct-04 13:28
V5Dave11-Oct-04 13:28 
GeneralRe: Can't update a textbox Pin
RobJones11-Oct-04 13:54
RobJones11-Oct-04 13:54 
GeneralStill Can't update a textbox Pin
V5Dave11-Oct-04 14:30
V5Dave11-Oct-04 14:30 
GeneralRe: Still Can't update a textbox Pin
RobJones11-Oct-04 17:39
RobJones11-Oct-04 17:39 
GeneralRe: Still Can't update a textbox Pin
RobJones11-Oct-04 17:50
RobJones11-Oct-04 17:50 
GeneralRe: Still Can't update a textbox Pin
V5Dave11-Oct-04 18:12
V5Dave11-Oct-04 18:12 
QuestionUsing Text Object Model for CRichEditCtrl manipulation? Pin
Jonathan Lee Brown11-Oct-04 12:39
Jonathan Lee Brown11-Oct-04 12:39 
Generalmouse events Pin
agentnem11-Oct-04 10:53
agentnem11-Oct-04 10:53 
GeneralRe: mouse events Pin
RobJones11-Oct-04 13:59
RobJones11-Oct-04 13:59 
GeneralRe: mouse events Pin
Anonymous11-Oct-04 14:08
Anonymous11-Oct-04 14:08 

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.