Search:
Type: Posts; User: DeepT
Search:
Search took 0.06 seconds.
-
November 26th, 2012, 12:43 PM
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...
-
September 10th, 2012, 07:18 AM
Ok. So there is no way to write a program which will run indefinitely for a windows phone or tablet? I just want to confirm this.
-
September 6th, 2012, 11:23 AM
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...
-
June 28th, 2012, 03:25 PM
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...
-
June 26th, 2012, 02:52 PM
-
June 26th, 2012, 02:33 PM
You mean this?
Base Class:
BEGIN_MESSAGE_MAP(CBubbleBaseDlg, CDialog)
ON_WM_TIMER()
ON_WM_SHOWWINDOW()
END_MESSAGE_MAP()
Subclass:
BEGIN_MESSAGE_MAP(CVista7BubbleDlg, CDialog)...
-
June 26th, 2012, 09:43 AM
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...
-
June 22nd, 2012, 09:49 AM
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.
-
June 22nd, 2012, 09:26 AM
Ok, VictornN, I tried that exact code you pasted and it crashes Dev Studio 2008 in my project.
This code:
CString URL = _T("https://www.google.com");
ShellExecute(NULL,NULL, (LPCTSTR)URL,...
-
June 22nd, 2012, 09:14 AM
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...
-
June 22nd, 2012, 09:02 AM
Ok, this code block also crashes Dev Studio 2008 and has nothing to do with CStrings:
#define URL "https://www.google.com"
int Len = strlen(URL);
char Buff[1024] = {0};
CopyMemory(...
-
June 22nd, 2012, 08:28 AM
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...
-
June 21st, 2012, 04:19 PM
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...
-
June 21st, 2012, 04:15 PM
Dev Studio is crashing. Not my application. I can't look at the call stack because the development environment crashes.
-
June 21st, 2012, 03:13 PM
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);
...
-
June 19th, 2012, 11:18 AM
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"...
-
June 18th, 2012, 02:19 PM
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...
-
June 18th, 2012, 01:55 PM
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. ...
-
June 14th, 2012, 11:14 AM
Never mind, found the problem. The actual class name is "#32770" and the " (CDialog)" was something spy added.
-
June 14th, 2012, 10:05 AM
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),...
-
June 11th, 2012, 01:56 PM
I found the answer in this Microsoft article:
http://support.microsoft.com/kb/148388
I got lucky with my google fu. Now to try and find the answer to the 2nd question.
-
June 11th, 2012, 01:15 PM
I did :
BOOL PropPageHello::OnSetActive()
{
BOOL Ret = CPropertyPage::OnSetActive();
EditUserName.SetFocus();
return Ret;
}
-
June 11th, 2012, 10:35 AM
Tried it and it didn't work.
-
June 11th, 2012, 09:49 AM
I have two problems.
1. When a certain property page is shown, I want a particular edit box to have focus. I am not sure how to do this, but I tried:
BOOL PropPageHello::OnSetActive()
{...
-
June 11th, 2012, 08:18 AM
DOH!
Thanks. I didn't even notice that.
|
Click Here to Expand Forum to Full Width
|