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

ATL / WTL / STL

 
GeneralRe: ActiveX control can not be used in other develop tools Pin
Stefan Pedersen8-Sep-03 1:52
Stefan Pedersen8-Sep-03 1:52 
GeneralRe: ActiveX control can not be used in other develop tools Pin
Foxray8-Sep-03 20:33
Foxray8-Sep-03 20:33 
GeneralThe problem with classCDateTimePickerCtrl Pin
Foxray7-Sep-03 14:42
Foxray7-Sep-03 14:42 
GeneralRe: The problem with classCDateTimePickerCtrl Pin
Michael Dunn7-Sep-03 19:23
sitebuilderMichael Dunn7-Sep-03 19:23 
GeneralRe: The problem with classCDateTimePickerCtrl Pin
Foxray7-Sep-03 20:49
Foxray7-Sep-03 20:49 
GeneralRe: The problem with classCDateTimePickerCtrl Pin
Braulio Dez8-Sep-03 21:42
Braulio Dez8-Sep-03 21:42 
GeneralRe: The problem with classCDateTimePickerCtrl Pin
Foxray10-Sep-03 23:17
Foxray10-Sep-03 23:17 
GeneralPlease Help: ATL Embedded and Shell Extension Question. Pin
LittleCoder5-Sep-03 12:17
LittleCoder5-Sep-03 12:17 
Hi everyone,
First, I'd like to say that I'm new to both ATL and Shell Extension programming, and I'm running into a brick wall the last three day. I would like to ask for your expertise of the topic.
Currently, I'm working on a UI design of an ATL project. On one the UI, I have an embedded Window Explorer. Thanks a little trick from Matthijs Hollemans's Windows Explorer wildcard selection shell extension article, I was able to get the hold of the right-hand side window, which is a list view, of the embedded explorer. However, when I try to used the API function SHGetPathFromIDList trying to get the path of the list view item pidl (i.e: item.LPARAM), it always returns that path to the desktop. For example, if the selected file is C:\Test.txt, the API function would return C:\Documents and Settings\CurrentUserID\Desktop\Test.txt. It doesn't matter what directory you navigate to, the returned path is always the desktop. Two questions raised for me:

1. Is there a way to just query for the directory path of the embedded window explorer?
2. How and what are the steps do I need to take to resolved the extension issues in this specific scenario?

Thanks so much for your help

Here is the class I used to create the embedded Window Explorer
class CDirFileView : public CWindowImpl<cdirfileview, caxwindow="">
{
public:
DECLARE_WND_SUPERCLASS(NULL, CAxWindow::GetWndClassName())
BOOL PreTranslateMessage(MSG* pMsg)
{
if((pMsg->message < WM_KEYFIRST || pMsg->message > WM_KEYLAST) &&
(pMsg->message < WM_MOUSEFIRST || pMsg->message > WM_MOUSELAST))
return FALSE;
// give HTML page a chance to translate this message
return (BOOL)SendMessage(WM_FORWARDMSG, 0, (LPARAM)pMsg);
}

BEGIN_MSG_MAP(CDirFileView)
END_MSG_MAP()

// Handler prototypes (uncomment arguments if needed):
// LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
// LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
// LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/)

BOOL DestroyWindow()
{
return CWindowImpl<cdirfileview, caxwindow="">::DestroyWindow();
}

};
GeneralLinker error using MFC and STL Pin
Jambolo3-Sep-03 18:53
Jambolo3-Sep-03 18:53 
GeneralRe: Linker error using MFC and STL Pin
Steve S3-Sep-03 21:45
Steve S3-Sep-03 21:45 
GeneralRe: Linker error using MFC and STL Pin
Jambolo4-Sep-03 1:09
Jambolo4-Sep-03 1:09 
QuestionWTL DDX with controls, really? Pin
Ernesto D.3-Sep-03 15:39
Ernesto D.3-Sep-03 15:39 
AnswerRe: WTL DDX with controls, really? Pin
Michael Dunn3-Sep-03 15:52
sitebuilderMichael Dunn3-Sep-03 15:52 
AnswerRe: WTL DDX with controls, really? Pin
Li Lirong3-Sep-03 16:32
Li Lirong3-Sep-03 16:32 
AnswerRe: WTL DDX with controls, really? Pin
Ernesto D.3-Sep-03 17:55
Ernesto D.3-Sep-03 17:55 
GeneralRe: WTL DDX with controls, really? Pin
Michael Dunn3-Sep-03 19:25
sitebuilderMichael Dunn3-Sep-03 19:25 
AnswerWTL dead ??? Pin
TW7-Sep-03 23:44
TW7-Sep-03 23:44 
GeneralRe: WTL dead ??? Pin
Steve S8-Sep-03 5:22
Steve S8-Sep-03 5:22 
GeneralRe: WTL dead ??? Pin
Jörgen Sigvardsson16-Sep-03 12:49
Jörgen Sigvardsson16-Sep-03 12:49 
GeneralRe: WTL dead ??? Pin
Steve S16-Sep-03 21:08
Steve S16-Sep-03 21:08 
QuestionHow to Change Atl Dialog Color and Make Control Transparent? Pin
zhangyifei1-Sep-03 17:15
zhangyifei1-Sep-03 17:15 
QuestionSo..........exporting STL containers from a dll? Pin
Abebe1-Sep-03 4:18
Abebe1-Sep-03 4:18 
AnswerRe: So..........exporting STL containers from a dll? Pin
Joaquín M López Muñoz1-Sep-03 4:47
Joaquín M López Muñoz1-Sep-03 4:47 
GeneralRe: So..........exporting STL containers from a dll? Pin
Abebe1-Sep-03 23:05
Abebe1-Sep-03 23:05 
GeneralRe: So..........exporting STL containers from a dll? Pin
Alexandru Savescu2-Sep-03 3:06
Alexandru Savescu2-Sep-03 3:06 

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.