Click here to Skip to main content
15,889,116 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Deploying a simple VS2005 executable Pin
Wes Aday12-Dec-07 9:20
professionalWes Aday12-Dec-07 9:20 
GeneralRe: Deploying a simple VS2005 executable Pin
Mark Salsbery12-Dec-07 9:21
Mark Salsbery12-Dec-07 9:21 
GeneralRe: Deploying a simple VS2005 executable Pin
ThatsAlok12-Dec-07 22:19
ThatsAlok12-Dec-07 22:19 
Generalweb browser control in win32 application Pin
s196675m12-Dec-07 7:23
s196675m12-Dec-07 7:23 
GeneralRe: web browser control in win32 application Pin
led mike12-Dec-07 7:58
led mike12-Dec-07 7:58 
GeneralRe: web browser control in win32 application Pin
Mark Salsbery12-Dec-07 9:36
Mark Salsbery12-Dec-07 9:36 
QuestionGetting file system parent from LPITEMLIST? Pin
Jerry Evans12-Dec-07 4:40
Jerry Evans12-Dec-07 4:40 
AnswerRe: Getting file system parent from LPITEMLIST? Pin
Roger Broomfield12-Dec-07 16:48
Roger Broomfield12-Dec-07 16:48 
There used to be an article in the MSDN called "Working with item ID lists", which does not appear to be in the current online MSDN. In it there was defined a sample function:

The following function takes a PIDL and changes it to its parent by removing the last item in the list.
BOOL GetParentID(LPITEMIDLIST pidl)
{
    BOOL fRemoved = FALSE;

// makes sure its a valid PIDL.
    if (pidl == NULL)
        return(FALSE);

    if (pidl->mkid.cb)
    {
        LPITEMIDLIST pidlNext = pidl;
        while (pidlNext)
        {
            pidl = pidlNext;
            pidlNext = GetNextItemID(pidl);
        }
// Remove the lat one, insert null-terminator.
        pidl->mkid.cb = 0;
        fRemoved = TRUE;
    }

    return fRemoved;
}

GeneralRe: Getting file system parent from LPITEMLIST? Pin
Jerry Evans13-Dec-07 0:45
Jerry Evans13-Dec-07 0:45 
GeneralXP style look Pin
josip cagalj12-Dec-07 2:06
josip cagalj12-Dec-07 2:06 
GeneralRe: XP style look Pin
toxcct12-Dec-07 2:24
toxcct12-Dec-07 2:24 
GeneralRe: XP style look Pin
Jeremy Falcon12-Dec-07 4:13
professionalJeremy Falcon12-Dec-07 4:13 
GeneralRe: XP style look Pin
Dr. Emmett Brown12-Dec-07 6:05
Dr. Emmett Brown12-Dec-07 6:05 
GeneralRe: XP style look [modified] Pin
josip cagalj13-Dec-07 1:34
josip cagalj13-Dec-07 1:34 
GeneralRe: XP style look Pin
josip cagalj12-Dec-07 23:25
josip cagalj12-Dec-07 23:25 
GeneralClear text from a device context. Pin
Mr Simple12-Dec-07 2:06
Mr Simple12-Dec-07 2:06 
QuestionRe: Clear text from a device context. Pin
CPallini12-Dec-07 2:13
mveCPallini12-Dec-07 2:13 
GeneralRe: Clear text from a device context. Pin
Mr Simple12-Dec-07 2:38
Mr Simple12-Dec-07 2:38 
GeneralRe: Clear text from a device context. Pin
CPallini12-Dec-07 2:54
mveCPallini12-Dec-07 2:54 
GeneralRe: Clear text from a device context. Pin
Mr Simple12-Dec-07 4:47
Mr Simple12-Dec-07 4:47 
GeneralRe: Clear text from a device context. Pin
CPallini12-Dec-07 5:12
mveCPallini12-Dec-07 5:12 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery12-Dec-07 6:30
Mark Salsbery12-Dec-07 6:30 
GeneralRe: Clear text from a device context. Pin
Mr Simple12-Dec-07 7:12
Mr Simple12-Dec-07 7:12 
GeneralRe: Clear text from a device context. Pin
Mark Salsbery12-Dec-07 7:31
Mark Salsbery12-Dec-07 7:31 
GeneralRe: Clear text from a device context. Pin
Mr Simple12-Dec-07 22:43
Mr Simple12-Dec-07 22:43 

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.