Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Right-Click Menu on ListView / Win32 Pin
Fareed Rizkalla27-Apr-10 18:30
Fareed Rizkalla27-Apr-10 18:30 
GeneralRe: Right-Click Menu on ListView / Win32 Pin
Saurabh.Garg27-Apr-10 18:44
Saurabh.Garg27-Apr-10 18:44 
QuestionRe: Right-Click Menu on ListView / Win32 Pin
David Crow28-Apr-10 3:53
David Crow28-Apr-10 3:53 
QuestionHiding C++ Class implementation in a DLL Pin
Maikeru200027-Apr-10 14:25
Maikeru200027-Apr-10 14:25 
AnswerRe: Hiding C++ Class implementation in a DLL Pin
Saurabh.Garg27-Apr-10 15:49
Saurabh.Garg27-Apr-10 15:49 
AnswerRe: Hiding C++ Class implementation in a DLL Pin
Stuart Dootson27-Apr-10 20:56
professionalStuart Dootson27-Apr-10 20:56 
GeneralRe: Hiding C++ Class implementation in a DLL Pin
Maikeru200028-Apr-10 6:01
Maikeru200028-Apr-10 6:01 
QuestionAnybody experienced with JumpLists on Windows 7 Pin
Fareed Rizkalla27-Apr-10 11:43
Fareed Rizkalla27-Apr-10 11:43 
The code is problematic free, yet the JumpList does not get created!
ICustomDestinationList* pJumpList = NULL;
if (SUCCEEDED(CoCreateInstance(CLSID_DestinationList, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pJumpList))))
{
    pJumpList->SetAppID(L"MyJumpList");

    UINT uMaxSlots;
    IObjectArray* pRemoved = NULL;
    if (SUCCEEDED(pJumpList->BeginList(&uMaxSlots, IID_PPV_ARGS(&pRemoved))))
    {

        IObjectCollection* pContents = NULL;
        if (SUCCEEDED(CoCreateInstance(CLSID_EnumerableObjectCollection, NULL,
            CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pContents))))
        {
            IShellLink* pLink = NULL;
            IPropertyStore* pStore = NULL;
            PROPVARIANT var;
            if (SUCCEEDED(CoCreateInstance(CLSID_ShellLink, NULL,
                CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pLink))))
            {
                pLink->SetPath(L"C:\\md5summer.exe");
                pLink->QueryInterface(IID_PPV_ARGS(&pStore));
                InitPropVariantFromString(L"Launch MD5Summer", &var);
                pStore->SetValue(PKEY_Title, var);
                pStore->Commit();
                pContents->AddObject(pLink);

                pStore->Release(); pStore = NULL;
                pLink->Release(); pLink = NULL;

                IObjectArray* pContentsArr = NULL;
                pContents->QueryInterface(IID_PPV_ARGS(&pContentsArr));
                pJumpList->AddUserTasks(pContentsArr);
                pJumpList->CommitList();
            }
        }
    }
}

AnswerRe: Anybody experienced with JumpLists on Windows 7 Pin
Saurabh.Garg27-Apr-10 15:52
Saurabh.Garg27-Apr-10 15:52 
GeneralRe: Anybody experienced with JumpLists on Windows 7 Pin
Fareed Rizkalla27-Apr-10 16:29
Fareed Rizkalla27-Apr-10 16:29 
GeneralRe: Anybody experienced with JumpLists on Windows 7 Pin
Saurabh.Garg27-Apr-10 17:36
Saurabh.Garg27-Apr-10 17:36 
GeneralRe: Anybody experienced with JumpLists on Windows 7 Pin
Fareed Rizkalla27-Apr-10 19:29
Fareed Rizkalla27-Apr-10 19:29 
GeneralRe: Anybody experienced with JumpLists on Windows 7 Pin
Saurabh.Garg27-Apr-10 19:30
Saurabh.Garg27-Apr-10 19:30 
QuestionCreating Help (CHM) Files Pin
Tony Teveris27-Apr-10 10:16
Tony Teveris27-Apr-10 10:16 
JokeRe: Creating Help (CHM) Files PinPopular
Moak27-Apr-10 10:26
Moak27-Apr-10 10:26 
GeneralRe: Creating Help (CHM) Files Pin
CPallini27-Apr-10 20:28
mveCPallini27-Apr-10 20:28 
AnswerRe: Creating Help (CHM) Files Pin
Dave Doknjas27-Apr-10 11:55
Dave Doknjas27-Apr-10 11:55 
QuestionC2512: no appropriate default constructor available Pin
Manfr3d27-Apr-10 8:47
Manfr3d27-Apr-10 8:47 
AnswerRe: C2512: no appropriate default constructor available Pin
David Crow27-Apr-10 8:55
David Crow27-Apr-10 8:55 
AnswerRe: C2512: no appropriate default constructor available Pin
«_Superman_»27-Apr-10 8:55
professional«_Superman_»27-Apr-10 8:55 
GeneralRe: C2512: no appropriate default constructor available [modified] Pin
PIEBALDconsult27-Apr-10 9:15
mvePIEBALDconsult27-Apr-10 9:15 
GeneralRe: C2512: no appropriate default constructor available Pin
Moak27-Apr-10 9:55
Moak27-Apr-10 9:55 
GeneralRe: C2512: no appropriate default constructor available Pin
CPallini27-Apr-10 11:45
mveCPallini27-Apr-10 11:45 
AnswerRe: C2512: no appropriate default constructor available Pin
CPallini27-Apr-10 11:42
mveCPallini27-Apr-10 11:42 
AnswerRe: C2512: no appropriate default constructor available Pin
Nisamudheen27-Apr-10 16:52
Nisamudheen27-Apr-10 16:52 

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.