Click here to Skip to main content
15,909,827 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldetect connection to internet without popping up dial-up Pin
Kuniva24-Apr-03 5:01
Kuniva24-Apr-03 5:01 
GeneralRe: detect connection to internet without popping up dial-up Pin
Jason Henderson24-Apr-03 5:25
Jason Henderson24-Apr-03 5:25 
GeneralRe: detect connection to internet without popping up dial-up Pin
David Crow24-Apr-03 5:37
David Crow24-Apr-03 5:37 
GeneralSet Directory to save to Pin
rbeat10024-Apr-03 4:14
rbeat10024-Apr-03 4:14 
GeneralRe: Set Directory to save to Pin
Rickard Andersson2024-Apr-03 4:27
Rickard Andersson2024-Apr-03 4:27 
GeneralRe: Set Directory to save to Pin
Maximilien24-Apr-03 4:31
Maximilien24-Apr-03 4:31 
GeneralRe: Set Directory to save to Pin
rbeat10024-Apr-03 4:40
rbeat10024-Apr-03 4:40 
GeneralRe: Set Directory to save to Pin
basementman24-Apr-03 6:39
basementman24-Apr-03 6:39 
try this code:

BOOL BrowseForDir(char *cpPathName, HWND hParent)
{
BOOL bRetval = FALSE;

BROWSEINFO sBI;
memset(&sBI,0,sizeof(BROWSEINFO));

sBI.hwndOwner = hParent;
sBI.pidlRoot = NULL;
sBI.pszDisplayName = cpPathName;
sBI.lpszTitle = "Select the folder To Save To:";
sBI.ulFlags = BIF_RETURNONLYFSDIRS;
sBI.lpfn = NULL;

LPITEMIDLIST pidl = SHBrowseForFolder(&sBI);
if (pidl)
{
SHGetPathFromIDList(pidl,cpPathName);
bRetval = TRUE;
}

return bRetval;
}

GeneralRe: Set Directory to save to Pin
Rickard Andersson2024-Apr-03 11:46
Rickard Andersson2024-Apr-03 11:46 
GeneralCObject derived classes and Memory Leaks Pin
zakkum24-Apr-03 3:55
zakkum24-Apr-03 3:55 
GeneralADO and big tables Pin
ilgale24-Apr-03 3:54
ilgale24-Apr-03 3:54 
GeneralRe: ADO and big tables Pin
Rickard Andersson2024-Apr-03 4:24
Rickard Andersson2024-Apr-03 4:24 
GeneralRe: ADO and big tables Pin
ilgale24-Apr-03 4:35
ilgale24-Apr-03 4:35 
GeneralRe: ADO and big tables Pin
Rickard Andersson2024-Apr-03 5:33
Rickard Andersson2024-Apr-03 5:33 
GeneralRe: ADO and big tables Pin
Toni7825-Apr-03 8:01
Toni7825-Apr-03 8:01 
QuestionHow to draw a transparent icon on top of another Pin
Salvador Dali24-Apr-03 3:50
Salvador Dali24-Apr-03 3:50 
AnswerRe: How to draw a transparent icon on top of another Pin
basementman24-Apr-03 6:43
basementman24-Apr-03 6:43 
GeneralWorking Set Tuner Pin
Anonymous24-Apr-03 3:11
Anonymous24-Apr-03 3:11 
GeneralCreate a Window without lose my focus Pin
Ricky_TheBard24-Apr-03 3:10
Ricky_TheBard24-Apr-03 3:10 
GeneralRe: Create a Window without lose my focus Pin
valikac24-Apr-03 6:54
valikac24-Apr-03 6:54 
QuestionHow to embed one dialog resource to another? Pin
kydfru24-Apr-03 3:03
kydfru24-Apr-03 3:03 
AnswerRE: only a suggestion... Pin
Joan M24-Apr-03 3:18
professionalJoan M24-Apr-03 3:18 
GeneralYes! That's exactly what I want! Thanks! Pin
kydfru24-Apr-03 3:42
kydfru24-Apr-03 3:42 
GeneralWSNMP32.DLL Pin
David Cunningham24-Apr-03 2:56
cofounderDavid Cunningham24-Apr-03 2:56 
GeneralRe: WSNMP32.DLL Pin
obmit24-Apr-03 5:01
obmit24-Apr-03 5:01 

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.