Hi everyone. I have a dialog with a propertysheet with a tab control style. The propertysheet has 5 propertypages, all of the same class. I want each tab to have a different title on it, eg. "One", "Two", etc. Since they are all of the same class, I can't set the title statically. In the propertypage's OnInitDialog() I try to set the title, but it won't change the title on the tab. Is there a way to set the tab titles in the propertypage's OnInitDialog()? I could create 5 different dialog classes for each propertypage and could set the title statically, but that would be wasteful. I use the code below. It doesn't set the title. It also crashes when the program is in release mode, which I can't understand. Thanks for any help!
the old method run correctly and drag and drop work fine;
but only if i set with the wizard "Accept Drag file".
At run time , with the istruction myWindow.DragAcceptFile(TRUE);
do not work and return the error:
''Debuf assertion failed. Program drag.exe , File : wincore.cpp, line 3836''
at line of this istruction
i tryed this method but it only open the window to send email;
i want to open the entire software (the main window) as Outlook or NetscapeMessenger or Opera (the default...)
exist an api to do this ?
In my VC++ MDI application ,The ini(configuration file) file that i'm maintaining is very huge.When i try to extract strings from it using GetPrivateProfileString function,The function is unable to retrieve the values stored after certain part of the file.I'm facing this problem only in Windows 98 and there is no problem in Windows 2000.Any suggestions
Thanks a lot for your suggestion.If i open the ini file as a flat file ,read each line and store it into CMapStringToString object,does MFC puts any restriction on the size of this map(in memory size or number of strings it can hold)
How can I guarantee that msdev.exe is in my system path? I tried using
"set path=%path%;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;" in the autoexec.bat file but I get the
"Too many parameters" error (because of the spaces, I guess).
How can I set the path? Who can I ask (If you don't know)?
Sorry for being so ignorant
but I didn't quite understand what you meant by: "Try putting VCVARS32.BAT at the end of your autoexec.bat". Should I just add the string "VCVARS32.BAT" at the end of the autoexec.bat file?