Click here to Skip to main content
15,902,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCannot get SW_HIDE to work on Internet Explorer Pin
Ranjan Banerji19-Aug-02 10:23
Ranjan Banerji19-Aug-02 10:23 
GeneralRe: Cannot get SW_HIDE to work on Internet Explorer Pin
Ravi Bhavnani19-Aug-02 11:54
professionalRavi Bhavnani19-Aug-02 11:54 
GeneralRe: Cannot get SW_HIDE to work on Internet Explorer Pin
Ranjan Banerji20-Aug-02 7:14
Ranjan Banerji20-Aug-02 7:14 
GeneralRe: Cannot get SW_HIDE to work on Internet Explorer Pin
Ravi Bhavnani20-Aug-02 7:32
professionalRavi Bhavnani20-Aug-02 7:32 
GeneralUrgent! A release version problem Pin
david fox19-Aug-02 10:18
david fox19-Aug-02 10:18 
GeneralRe: Urgent! A release version problem Pin
Max Santos19-Aug-02 10:24
Max Santos19-Aug-02 10:24 
GeneralRe: Urgent! A release version problem Pin
Neville Franks19-Aug-02 10:37
Neville Franks19-Aug-02 10:37 
GeneralRe: Urgent! A release version problem Pin
david fox19-Aug-02 18:01
david fox19-Aug-02 18:01 
I read the article you recommend and thought it should be a unitializated problem. But I check the code and can not find where it come from.
Following is the code which the problem come from.

CString FileName;
int nCount;
// check whether only one item hit by mouse
// if not, return
if((m_locallist.GetSelectedCount())!=1)
{
MessageBox("Please select one file","Error", MB_OK);
return;
}
// get click position
POSITION pos = m_locallist.GetFirstSelectedItemPosition();
// get item index and name clicked
nCount = m_locallist.GetNextSelectedItem(pos);
FileName = m_locallist.GetItemText(nCount, 0);
// if it is a directory, change current directory
// and show files in this directory again
if(m_locallist.GetItemText(nCount,0) == "..")
{
chdir("..");
char lpBuffer[80];
GetCurrentDirectory(80, lpBuffer);
m_locallist.DeleteAllItems();
m_local.DisplayDir(m_locallist, lpBuffer);
}
else{
CFileFind finder;
// start working for files
char File[100];
char dir[80];
GetCurrentDirectory(80, dir);
sprintf(File,"%s\\%s", dir, FileName);
BOOL bWorking = finder.FindFile(File);
finder.FindNextFile();

if(!finder.IsDots()){
if(finder.IsDirectory())
{
m_locallist.DeleteAllItems();
chdir(FileName);
// GetCurrentDirectory(80, dir);

m_local.DisplayDir(m_locallist, File);
}
}
finder.Close();
}

GeneralRe: Urgent! A release version problem Pin
Neville Franks19-Aug-02 18:35
Neville Franks19-Aug-02 18:35 
GeneralRe: Urgent! A release version problem Pin
jhwurmbach19-Aug-02 22:00
jhwurmbach19-Aug-02 22:00 
Generaldirectory browser Pin
ns19-Aug-02 10:17
ns19-Aug-02 10:17 
GeneralRe: directory browser Pin
Tomasz Sowinski19-Aug-02 10:16
Tomasz Sowinski19-Aug-02 10:16 
GeneralRe: directory browser Pin
Renjith Ramachandran19-Aug-02 10:23
Renjith Ramachandran19-Aug-02 10:23 
GeneralRe: directory browser Pin
ns19-Aug-02 10:41
ns19-Aug-02 10:41 
GeneralRe: directory browser Pin
Ravi Bhavnani19-Aug-02 11:48
professionalRavi Bhavnani19-Aug-02 11:48 
GeneralRe: directory browser Pin
ns20-Aug-02 1:47
ns20-Aug-02 1:47 
GeneralRe: directory browser Pin
ns20-Aug-02 2:15
ns20-Aug-02 2:15 
GeneralRe: directory browser Pin
Ravi Bhavnani20-Aug-02 4:37
professionalRavi Bhavnani20-Aug-02 4:37 
GeneralSTL vector push_back( ) copy c'stor question Pin
JohnnyG19-Aug-02 10:05
JohnnyG19-Aug-02 10:05 
GeneralRe: STL vector push_back( ) copy c'stor question Pin
Tomasz Sowinski19-Aug-02 10:15
Tomasz Sowinski19-Aug-02 10:15 
GeneralRe: STL vector push_back( ) copy c'stor question Pin
Stuart Dootson19-Aug-02 14:17
professionalStuart Dootson19-Aug-02 14:17 
GeneralRe: STL vector push_back( ) copy c'stor question Pin
JohnnyG20-Aug-02 4:25
JohnnyG20-Aug-02 4:25 
GeneralWinsock: Socket disconnection Pin
Le centriste19-Aug-02 9:37
Le centriste19-Aug-02 9:37 
GeneralRe: Winsock: Socket disconnection Pin
Ernest Laurentin19-Aug-02 9:52
Ernest Laurentin19-Aug-02 9:52 
GeneralRe: Winsock: Socket disconnection Pin
unregistered19-Aug-02 19:49
unregistered19-Aug-02 19:49 

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.