|
can you clarify your question further
is it like u have a list view & u need printing support for it
if it is the same & u need it in mfc i think i can help u
surbinsho
|
|
|
|
|
See my reply to your previous note.
/ravi
Let's put "civil" back into "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
ok i have a class which prints the listview (report view) in WYSIWYG format
i'll be posting it as an article soon or be mailing it to u
so plz keep on checking the message board
surbinsho
|
|
|
|
|
hi
check this link
http://www.codeguru.com/listview/lcprinting.shtml
surbinsho
|
|
|
|
|
I'm trying to catch an enter keypress from a single-line CEdit control in a dialog class. My solution is a hack which I presume won't with with non-CEdit controls. Can anyone suggest a cleaner way to do this?
My current solution is:
1. Derive control from CEdit
2. Set control style to multiline, want-return
3. Override OnChar:
// Grab that enter key
if (nChar == '\r') {
CWnd *pParent = GetParent();
if (pParent) {
::PostMessage (pParent->GetSafeHwnd(), WM_ENTERPRESS, 0, (LPARAM)GetDlgCtrlID());
}
}
else {
CEdit::OnChar(nChar, nRepCnt, nFlags);
}
4. Parent dialog box watches for the WM_ENTERPRESS message with lParam equal to the control's ID.
Thanks.
|
|
|
|
|
|
Hi,
I have a developed large Project which consist of around 200 clases.
I want to reverse-Engineer this project.I developed the code in VS 6(VC++).
I used Visio but the only relation it showed was inheritence between classes.
I Dunno whether i used correct option.If any idea please express it.
I also used Visual Modeler with comes with VS 6 but there was no option for VC++ code.It gave option for VB only..
so any one has any idea how to reverse engineer so thst i can get full realtions between class
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
|
Christopher Duncan wrote:
The only thing that comes to mind is Rational Rose, but it ain't cheap...
Well Cost is not the problem becos i have the necessary software.I just want to whether it is possible from Rational Rose and will it give full class realtionship?.
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
super wrote:
will it give full class realtionship?
I don't have any personal experience with the product, but I've heard it's pretty full featured. That's why I included a link to their site, I'm sure they have a lot of information there about product functionality. Wish I knew more to tell you, but I hope this helps.
Chistopher Duncan
Author - The Career Programmer: Guerilla Tactics for an Imperfect World (Apress)
|
|
|
|
|
I am looking to insert ActiveX control dynamically onto my dialog? Can anyone point me in the right direction.
Cheers
Rich
|
|
|
|
|
I have a header file which I cant change which has:
typedef long DATE;
Unfortuatnely this clashes with an MFC symbol, wtypes.h:
typedef double DATE;
I have to include the header file in question. I could try not including wtypes.h in my project but cant find where it is included. Either way, is there a way for me to tell the compiler to use one or the other??
|
|
|
|
|
use preprocessors
Renjith-CPian.
|
|
|
|
|
It's a shame that whoever provided this header did not use namespaces. It's not exactly an uncommon name.
Christian
I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002
|
|
|
|
|
If the library to which this header belongs is written in C, there's a workaround (I think). Try including the header as this:
namespace whatever
{
#include "offending header"
} and prefix all the symbols from the header (functions included) with wathever:: .
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
I meet the following problem :
MyAPP1.exe is calling MyAPP2.exe using a "CreateProcess".
How should I configure VisualC++ to debug MyAPP2 ???
Thanks a lot.
|
|
|
|
|
Simply insert '__asm int 3' as a breakpoint in your code
|
|
|
|
|
how can my program detect when there has been no keyboard or mouse events for a certain period of time?
|
|
|
|
|
WM_TIMER, WM_CHAR, WM_MOUSEMOVE and a bool.
Christian
I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002
|
|
|
|
|
U can handle the CWinApp:OnIdle function..
use Class Wizard to add that function...
Vrush
|
|
|
|
|
I have a Database Probelm . I am using ms-acess using the dao connectivity. Now when I use a command in dao to open the database , It gives me error as Unable to initialize dao/jet database engine.
Kindly suggest some solution for it.
Samir Sood
|
|
|
|
|
Do you need to start COM ( CoInitialise ) ???
Christian
I am completely intolerant of stupidity. Stupidity is, of course, anything that doesn't conform to my way of thinking. - Jamie Hale - 29/05/2002
|
|
|
|
|
Do you mean it's suddenly stopped working, or it's never worked?
If it's just stopped, then open the database in access, and repair and compact it, which should fix your problems.
It could also be that you don't have the Jet Drivers installed. These will be installed automatically if you install Access or Excel (and should've been installed with VC++ too)
I think you can download them here
--
Help me! I'm turning into a grapefruit!
|
|
|
|
|
Thank you very much . Actually the probelm was that that i did not have the jet 3.5 driver installed. Now I have installed it and it is working fine.
Thanks a Lot.
Samir Sood
|
|
|
|
|
Glad to be of help
--
Help me! I'm turning into a grapefruit!
|
|
|
|