I have been told to show some text document when our application starts up, it is an EULA. They gave me a word file and I saved this file in a .rtf format. I then wish to show this in a dialog box...
I have been asked to look into the feasibility of porting an application that runs on Windows 7 & 8 to work on Window 8 phones and tablets. Our current application is mostly a service and I do not...
In short what I want to do is have an Abstract Base class call a method implemented in a subclass. I am sure I have done this at some point in the past, but I can't remember how. Anyway some sample...
The class hierarchy is CDialog -> BaseClass -> SubClass. BaseClass is abstract. Whenever an instance of SubClass is shown I want my BaseClass to capture the event and do something. This is the...
It is not unicode. Anyway Ill just put the debug macros around it and not execute it in my development environment. My app runs just fine when run stand-alone.
No, i didn't try that in an application by itself. It is final step in my other app. I could paste that into a new app. If it crashes or does not, what does that tell me? Note this is crashing...
I am Visual Studio 2008.
I tried this:
CString URL = "https://www.google.com";
ShellExecute(NULL,NULL,(const char*)URL, NULL,NULL,SW_SHOW); and this also crashes Visual Studio 2008. Putting in...
2. To make sure I get the char * type of pointer. CString does this with a cast. I just want to make sure I end up with a pointer to a buffer of *char and not a reference to an object.
3. I am...
I have a MFC Dialog based application, and when I get a certain user-defined windows message I do the following:
ShellExecute(NULL,NULL,(const char*)WLC.Settings.FinishURL, NULL,NULL,SW_SHOW);
...
I have some dialogs I have been working on in the resource editor (Dev Studio 2008). In the past I could right click on the dialog and a menu would open and it would have an option, "Add Class"...
Yeah, I read that, and it doesn't really tell me anything. Logically if I had an MFC project then selecting that option would cause my program to not link or run because the MFC libraries are not...
I have a basic MFC dialog based app. I see in the compiler options, one of the configuration options is the use of MFC. I see an option for static, shared DLL and Use Standard Windows libraries. ...
I am looking to find a particular dialog box. I used the Spy tool and it gave me the class name for this dialog box as "#32770 (Dialog)". If I use FindWindowEx(NULL, NULL,"#32770 (Dialog)", NULL),...