|
Create another project and add the ActiveX control to make wrapper class.
and overwrite old one.
that's all.
have a nice day~
|
|
|
|
|
If I already have a control added to the dialog and saved before updating hte version, after the update I got an error that the control could not be loaded in the same state when it was last saved. How to solve this issue?
|
|
|
|
|
I know with the following statement, I can open outlook with email address (abc@abc.com) already set up:
ShellExecute(
NULL,
"open",
"mailto:abc@abc.com",
NULL,
"",
SW_SHOWNORMAL
);
Is there any way to set up content just like email address prior to open outlook? Thank you.
|
|
|
|
|
"mailto:abc@abc.com?Subject=SomeSubject&Body=whatever..."
As far as I can remember
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
|
I have a CWnd derrived object that is a private member of an MDI's CWinApp object. I would like to have the CWnd obj handle messages from the menu but when I use the ClassWizard to set up a handler in the CWnd obj, it does not enable the menu item. How do I "connect" the menu item with this object?
Thanks!
Grailman
|
|
|
|
|
Does anyone know how to create two rows of header information using the MFC CListCtrl. i.e. something the following
-----------------------------------------------------------------
INPUT | OUTPUT
-----------------------------------------------------------------
Frame | Addr | Frame | Addr
-----------------------------------------------------------------
0 | 0x1000 | 0 | 0x20000
1 | 0x2000 | 1 | 0x30000
2 | 0x2000 | 2 | 0x30000
3 | 0x2000 | 3 | 0x30000
etc....
Thanks,
Suresh
|
|
|
|
|
You can't do this directly.
John
|
|
|
|
|
How can this be done indirectly. Any ideas John?.
|
|
|
|
|
I beleive you have to draw the header yourself but it may be possible to stack a list control on top of another such that the only visible part of the top one on is its header.
[EDIT]
When I think of my second idea for a little while I realize this is not going to be easy to get it to work.
[/EDIT]
John
|
|
|
|
|
that's too complicated for it to handle -- take a look at some of the grid controls here on CP, they are more flexible about this..
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
Santa Cruz Networks
|
|
|
|
|
|
If somebody could point me to them, that would be greatly appreciated. I appear to be having problems finding any on CP.
|
|
|
|
|
Have you searched through MSDN? It has a ton of information?
You might also make a "dummy" project with help-file support, and note the different settings and files that AppWizard adds.
|
|
|
|
|
Well, I'll try that, but MSDN usually gives me a headache. I usually prefer finding stuff from other users. Just wondering if anybody else out there had an article on it.
|
|
|
|
|
These guys[^] make a good tool and have lots of links out.
There are a bunch of tutorials out there on how to create compiled help files - just Google for them. It's a major PITA
Software is everything. It also sucks. Charles Fishman [^]
Awasu 1.0.4 (beta)[^]: A free RSS reader with support for Code Project.
|
|
|
|
|
If all you want to do is produce help files for source you could try Doxygen[^]
If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts you aim;
Yours is the Earth and everything that's in it.
Rudyard Kipling
|
|
|
|
|
It's not all I want to do, I'm trying to make a help file becuase it already part of a C++ project as it stands, but I need to modify it and I don't know exactly how to.
|
|
|
|
|
What is the syntax for forward declaration of a template class? I am making a DLL, I would like to forward declare the template class so that it can be "hidden" when you put the header in the application program.
Thanks in advance.
|
|
|
|
|
|
I have a Thread in my COm Server framework . I am unable to send events to the Client in the Thread . This is because the apartment is different . How Can i send events back to my Client from within the thread ?
|
|
|
|
|
So I've been trying to get SendInput to send extended ASCII characters such as ä (ASCII 132) or à (ASCII 133) but have not gotten it to work.
Does anyone have any ideas as to how I can send extended ASCII characters to an input window via SendInput or some other function?
Thanks
Fred
|
|
|
|
|
A quick plug, Thanks to the guys that helped with the random double generator
I am reading in a file and parsing the data.
right now I am using the getline() function.
I am able to parse everything in the file with no problems.
Once I have the data I need to add it to a struct
There are 5 values on each line.
string,string,string,double,double
When I use the getline() function I everything is a string.
How can I convert the last 2 strings to doubles?
Is there a function that will allow me to get chars instead of strings?
Thanks,
sj
here is my function is case I didn't explain well enough:
<br />
struct TSimSignal<br />
{<br />
double Min[5]; <br />
double Max[5]; <br />
double Value[5]; <br />
char Name[5];<br />
char Unit[5];<br />
};<br />
<br />
<br />
<br />
<br />
<br />
void setInitialValues(TSimSignal &s){<br />
<br />
string name,unit,min,max,value;<br />
<br />
fin.open("mockData.dat"); <br />
<br />
<br />
for(int i=0; i<sizeof(s.Name); i++){<br />
getline(fin, name, ',');<br />
if(name == "STOP")<br />
break;<br />
getline(fin, unit, ',');<br />
getline(fin, min, ',');<br />
getline(fin, max, ',');<br />
getline(fin, value);<br />
<br />
s.Name[i]= name;<br />
s.Unit[i]= unit;<br />
s.Min[i]= (double)min;<br />
s.Max[i]= (double)max;<br />
s.Value[i]=(double)value;<br />
<br />
cout << endl << name<<" "<<unit<<" "<<min<<" "<<max<<" "<< value << "\n";<br />
<br />
} <br />
<br />
}<br />
<br />
<br />
|
|
|
|
|
atof( )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
Santa Cruz Networks
|
|
|
|
|
I've created the default "hello world" program (console type program). The program works ok in VC++, but it doesn't as a stand alone. The program closes as fast as it opens (this is the release .exe stored in "My Projects"). I've tried various suggestions (such as adding "_getch()," etc...but I shouldn't have to do any of that. The program works in VC++ but not in the final released version. ANybody have any ideas?
Thanks
|
|
|
|