|
hi,
The dialog template is in dll in both of the two funcion.
gucy
|
|
|
|
|
If you use AFX_MANAGE_STATE() in the bottom one, does it still work?
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
yes,if i add the macro to the second one,it still work.it does not depent on the macro.
gucy
|
|
|
|
|
Hmmm. I can't help much more - I'm not an expert on DLLs. Have a look at MFC technical note TN058 which explains module state switching in detail.
As far as I can see, the first one should work .
Ryan
Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"
|
|
|
|
|
If I get an updated version on an ActiveX control...
What steps do I need to take in order to re-insert the control on a dialog, such that ClassWizard will generate updated wrapper classes of the SAME name as I'm currently using?
Thanks bunches!
There's no such thing as a bad beer... some are just better than others.
|
|
|
|
|
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.
|
|
|
|
|