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?
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
void CAboutDlg::OnLButtonDown(UINT nFlags, CPoint point)
{
if(nFlags == MK_LBUTTON)
{
MessageBox("hi");
}
CDialog::OnLButtonUp(nFlags, point);
}
works beautifully, my question is what coding should i use so that the message box appears only if the left click is on a Static Text( ex...
my computer crashed, and when i tryed to retreive lost data, i got my .cpp files back as these wierd symbols, im guessing unicode, well either way, i cant read anything that i wrote, wondering how can i restore the normal ascii characters?
where can i learn about how the program can communicate on the internet? is there are good tutorials out there that show how the interent works with C++?
my main goals is really just to check if a certain url exist, and if it does, a MessageBox("exist") should appear, but i need to figure out...
Is there a CFolderDialog like a CFileDialog
im trying to open a folder in a mfc program, but dont understand if mfc already provides a folder opening option (class) like its file opening option (class - CFileDialog)
ok i have a couple of CPropertyPage that load up from the mother window, and the thing is when they load, the mother windows title bar goes to inactive mode (turns the color gray from blue), the CPropertyPage dong have title bars so i would like to just keep the title bar of the mother window...
how do i gray certain areas of a file menu, it seems EnableWindow() doest work with what i want, i want to gray certain selections in the Menu's when a certain selection is selected
i used Microsoft to build the menu
the Menu name is IDR_MENU1
inside the Menu is an option called Open (in the...
hi im trying to detect when the main window is moved (mother window, not child) ... ive gotten teh following code below from some tutorials, the thing is they didnt use classes in the tutorials, im trying to get this function to work with classes, any help would be great
CODE
LRESULT CALLBACK...
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.