Click here to Skip to main content
15,904,416 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Size of executable doubles since Windows Update on April 14, 2011 Pin
Hans Dietrich26-Apr-11 8:06
mentorHans Dietrich26-Apr-11 8:06 
GeneralRe: Size of executable doubles since Windows Update on April 14, 2011 Pin
Big Art1-Jul-11 10:51
Big Art1-Jul-11 10:51 
AnswerRe: Size of executable doubles since Windows Update on April 14, 2011 Pin
Hans Dietrich1-Jul-11 14:25
mentorHans Dietrich1-Jul-11 14:25 
QuestionProblem creating instance using com smart pointer. Pin
Dhadhan13-Apr-11 18:35
Dhadhan13-Apr-11 18:35 
Questionhow can I draw one Line in different windows? Pin
caiguosen11-Apr-11 4:00
caiguosen11-Apr-11 4:00 
AnswerRe: how can I draw one Line in different windows? Pin
Richard MacCutchan11-Apr-11 4:20
mveRichard MacCutchan11-Apr-11 4:20 
QuestionWindows Media Player Plugin - Property Page Issue Pin
dexter7505-Apr-11 18:56
dexter7505-Apr-11 18:56 
QuestionHandling LVN_DELETEITEM in CListViewCtrl subclass Pin
Philipp Kursawe29-Mar-11 21:09
Philipp Kursawe29-Mar-11 21:09 
I would like to handle LVN_DELETEITEM in my subclass:

class DailyProgramListView : 
    public ATL::CWindowImpl<DailyProgramListView, WTL::CListViewCtrl, ATL::CWinTraitsOR<LVS_REPORT | LVS_SHOWSELALWAYS | LVS_SINGLESEL>>,
    public WTL::CCustomListViewDraw<DailyProgramListView> {

    BEGIN_MSG_MAP_EX(DailyProgramListView)
      MSG_WM_CREATE(OnCreate)
      MSG_WM_SIZE(OnSize)
      REFLECTED_NOTIFY_CODE_HANDLER_EX(LVN_DELETEITEM, onDeleteItem)
      NOTIFY_CODE_HANDLER_EX(LVN_DELETEITEM, onDeleteItem)
      CHAIN_MSG_MAP_ALT(WTL::CCustomListViewDraw<DailyProgramListView>, 1)
      DEFAULT_REFLECTION_HANDLER()
    END_MSG_MAP()
};


For some reason, the LVN_DELETEITEM is still only posted to the parent of the listview.
The parent has REFLECT_NOTIFICATIONS_EX() in its MSGMAP.
Happy coding,
Philipp Kursawe

QuestionUsage of reference Pin
Krishnakumartg29-Mar-11 1:42
Krishnakumartg29-Mar-11 1:42 
AnswerRe: Usage of reference Pin
Richard MacCutchan29-Mar-11 3:22
mveRichard MacCutchan29-Mar-11 3:22 
GeneralRe: Usage of reference Pin
Krishnakumartg29-Mar-11 6:12
Krishnakumartg29-Mar-11 6:12 
GeneralRe: Usage of reference Pin
Richard MacCutchan29-Mar-11 6:25
mveRichard MacCutchan29-Mar-11 6:25 
GeneralRe: Usage of reference Pin
Krishnakumartg29-Mar-11 6:30
Krishnakumartg29-Mar-11 6:30 
GeneralRe: Usage of reference Pin
Richard MacCutchan29-Mar-11 6:54
mveRichard MacCutchan29-Mar-11 6:54 
QuestionWhy more than one picture added into .doc file can't be seen but single can? [modified] Pin
whiteclouds24-Mar-11 21:47
whiteclouds24-Mar-11 21:47 
QuestionHow to replace a '%' character in CComBSTR with "%%" Pin
narayanagvs23-Mar-11 0:31
narayanagvs23-Mar-11 0:31 
AnswerRe: How to replace a '%' character in CComBSTR with "%%" [modified] Pin
Cool_Dev24-Mar-11 2:18
Cool_Dev24-Mar-11 2:18 
GeneralRe: How to replace a '%' character in CComBSTR with "%%" Pin
barneyman22-Apr-11 0:08
barneyman22-Apr-11 0:08 
RantRe: How to replace a '%' character in CComBSTR with "%%" Pin
Cool_Dev22-Apr-11 0:41
Cool_Dev22-Apr-11 0:41 
GeneralRe: How to replace a '%' character in CComBSTR with "%%" Pin
barneyman22-Apr-11 0:50
barneyman22-Apr-11 0:50 
Questionget focus on ActiveX control in MFC Dialog Pin
MrKBA22-Mar-11 0:01
MrKBA22-Mar-11 0:01 
Questionaccessing ActiveX array Pin
opti99921-Mar-11 23:33
opti99921-Mar-11 23:33 
AnswerRe: accessing ActiveX array Pin
Michael Dunn22-Mar-11 20:47
sitebuilderMichael Dunn22-Mar-11 20:47 
QuestionSinging COM Object Pin
Anders Molin21-Mar-11 2:31
professionalAnders Molin21-Mar-11 2:31 
AnswerRe: Singing COM Object Pin
Michael Dunn22-Mar-11 20:51
sitebuilderMichael Dunn22-Mar-11 20:51 

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.