Click here to Skip to main content
15,905,508 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: in WTL, can these code not use in WinMain? Pin
Douglas Troy20-Feb-06 7:16
Douglas Troy20-Feb-06 7:16 
Questionproblem with ocx... Pin
padma_0117-Feb-06 1:07
padma_0117-Feb-06 1:07 
GeneralRe: problem with ocx... Pin
Joonsong Jang17-Feb-06 19:59
Joonsong Jang17-Feb-06 19:59 
QuestionAdd a New ATL Object Pin
Anil_vvs15-Feb-06 18:42
Anil_vvs15-Feb-06 18:42 
AnswerRe: Add a New ATL Object Pin
Stephen Hewitt16-Feb-06 11:45
Stephen Hewitt16-Feb-06 11:45 
QuestionActiveX ATL control Pin
Anilkumar K V13-Feb-06 18:43
Anilkumar K V13-Feb-06 18:43 
GeneralRe: ActiveX ATL control Pin
Joonsong Jang17-Feb-06 19:36
Joonsong Jang17-Feb-06 19:36 
QuestionIcons not dragging in listctrl Pin
Parampreet Sidhu13-Feb-06 5:13
Parampreet Sidhu13-Feb-06 5:13 
Hi guys,

Im having difficulty in getting a ListView to rearrange its icons when dragged.

This is what ive done:

1> Added an ATL control to my existing project.
2> Declared my ListView class as follows:

template <class T, class TBase = CListViewCtrl, class TWinTraits = CListViewCtrlTraits>
class ATL_NO_VTABLE CListViewCtrlImpl: public ATL::CWindowImpl<T, TBase, TWinTraits>,
public CListViewImpl<T>,
public CSortListViewImpl<T>


3> Derived my existing class (called CGridCtrl) from:

public CComControl<CGridCtrl, CListViewCtrlImpl<CGridCtrl> >,

4> Filled in the Create handler to create the listctrl and add some dummy data.

Now the list works fine, no problems. When I try and drag an icon nothing happens. To make sure it was receiving events I added a CONTEXT handler and it got called fine. I then added some handlers that changed the view and they also worked.

My question is, is this supported without additional code? Its documented in the MSDN as supported.

I also tried creating an MFC dialog project with a listctrl on it to see if it worked, but it didnt (even after playing with every possible style and extended style combination).

Thanks.

-- Raj
AnswerRe: Icons not dragging in listctrl Pin
Parampreet Sidhu14-Feb-06 0:25
Parampreet Sidhu14-Feb-06 0:25 
QuestionHow to determine if an ActiveX control is signed or not Pin
KKTECH12-Feb-06 23:03
KKTECH12-Feb-06 23:03 
AnswerRe: How to determine if an ActiveX control is signed or not Pin
Michael Dunn13-Feb-06 7:44
sitebuilderMichael Dunn13-Feb-06 7:44 
GeneralRe: How to determine if an ActiveX control is signed Pin
KKTECH23-Feb-06 18:41
KKTECH23-Feb-06 18:41 
GeneralRe: How to determine if an ActiveX control is signed [modified] Pin
Michael Dunn23-Feb-06 18:50
sitebuilderMichael Dunn23-Feb-06 18:50 
GeneralRe: How to determine if an ActiveX control is signed [modified] Pin
KKTECH27-Feb-06 1:27
KKTECH27-Feb-06 1:27 
QuestionActiveX to server communication Pin
vinodraut12-Feb-06 22:11
vinodraut12-Feb-06 22:11 
QuestionOutlook::_Application problem Pin
kotiramkoteswararao12-Feb-06 3:50
kotiramkoteswararao12-Feb-06 3:50 
Questionhow to COM class in another class Pin
kotiramkoteswararao11-Feb-06 7:52
kotiramkoteswararao11-Feb-06 7:52 
AnswerRe: how to COM class in another class Pin
Milton Karimbekallil11-Feb-06 17:54
Milton Karimbekallil11-Feb-06 17:54 
AnswerRe: how to COM class in another class Pin
Stephen Hewitt12-Feb-06 11:31
Stephen Hewitt12-Feb-06 11:31 
GeneralRe: how to COM class in another class Pin
Milton Karimbekallil13-Feb-06 4:40
Milton Karimbekallil13-Feb-06 4:40 
QuestionHow to convert ATL COM DLL to ATL COM EXE Pin
Balkrishna Talele8-Feb-06 21:50
Balkrishna Talele8-Feb-06 21:50 
AnswerRe: How to convert ATL COM DLL to ATL COM EXE Pin
Douglas Troy9-Feb-06 7:48
Douglas Troy9-Feb-06 7:48 
GeneralRe: How to convert ATL COM DLL to ATL COM EXE Pin
Balkrishna Talele9-Feb-06 18:05
Balkrishna Talele9-Feb-06 18:05 
GeneralRe: How to convert ATL COM DLL to ATL COM EXE Pin
Jörgen Sigvardsson9-Feb-06 21:01
Jörgen Sigvardsson9-Feb-06 21:01 
GeneralRe: How to convert ATL COM DLL to ATL COM EXE Pin
Balkrishna Talele9-Feb-06 21:33
Balkrishna Talele9-Feb-06 21:33 

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.