ok i have a OnParentNotify(), and i want to detect when a child window is destroyed, what am i forgeting that will notify me that my window is closing
void CMDAPETDlg::OnParentNotify(UINT temp,LPARAM temp1)
{
CDialog::OnParentNotify(temp,temp1);
if(temp == WM_DESTROY)
{...
what is MAX_PATH? is the largest name a file can have as in hi.txt? or is it the largest name of a file + its adress as in C:\1\hi.txt? or is it somethingelse? i find uses of it everywhere, but no simple explanation
hi, iwant to detect when the mouse clicks on the "x" option to close/exit the program, the reason is i want to have a message popup after they click on the "x", any ideas?
i got a CComboBox EnableToolTips, in other words
CComboBox a;
a.EnableToolTips(1);
should tooltips now starting showing up bythemselves or do i have to add extra script to get this thing working? this is all i have so far
how can i detect when a file (ex: c:\1.txt) has been changed or edited while my program is running ... i noticed windows updates explorer whenver a file is edited, etc...how can i use that same ability with my program?
ok cpjust i tried this but doesnt work, any ideas?
struct _stat buf;
int r = _stat("C:\\",&buf);
if(buf.st_mode==_S_IFDIR)
{
MessageBox("c:\ exist");
}
else
{
MessageBox("c:\ not exist");
}
is there anyway to tell if something is a folder or a file? b/c i noticed files can have no extensions and still be considered files, and folders can have periods in them and still be considered folders (even though they may look like files names)
is there a certain property or function that can...
1) can i make a hidden .txt file using fopen? or is it always given the propety visible
2) i want to open a .txt file and read 1 line at a time, what function do i use to read 1 line at a time?
i dont know what to do at all with msflexgrid, any tutorials out there? or if anyone can give an example code maybe?
i have visual c++ .net, and i dont see the felixgrid option under Toolbox, if i want to add, what is the name of the Component i need to add?
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.