|
Can you please tell me how to do that? Thanks in advance
|
|
|
|
|
in the header file of the new class you might have this statement.
class xyx : public CListView
so replace CListView with some other name.
-Prakash
-- modified at 3:24 Monday 9th January, 2006
|
|
|
|
|
Like Mr.Prakash wrote:
in the header file of the new class you might have this statement.
class xyx : public CListView
so replace CListView with some other name.
but check alsoo the implementation file (*.cpp) to make sure that all CListView
occurences are replaced
codito ergo sum
|
|
|
|
|
I wuld like to thank u all for the great help. Actually, i spent three days tryin to solve this, but u guys helped me out. Really grateful.
|
|
|
|
|
But if i want to derive a class directly from CObject and have it in the class wizard, what do i do?
|
|
|
|
|
First close your Visual Studio, then delete CLW and the start again VS. It should work.
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
Vineethg wrote: But it is not seen in the class name combo box of the class wizard.
That combobox is hard-coded to contain only MFC classes, not user-defined classes.
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
can anyone guide me on
'how to call a FUNCTION written in an oracle package,from vc++ using ADO'
The function returns a recordset.
thankx,
abin
'Live n Let Live'
-- modified at 1:52 Monday 9th January, 2006
|
|
|
|
|
|
Did you check the posted articles to see if there's an ADO class you can use? I seem to remember seeing one.
------- sig starts
"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi,
GUI in mind to be made in MFC:-
On the left pane, there will be links. Clicking each of the links shows up a different UI(with controls) to its right.
An example would be the Options section on the left with My Settings/My BookMarks/.... on the left here in codeproject. Clicking each of them would show a different UI to its right with its own layout and controls.
Is CHtmlDialog the only way or Is there any other recommended mechanism?
Thanks
Vipin - MVP
|
|
|
|
|
Hey, cool. What is your MVP in ? Did you get to Seattle, or are you a new awardee ?
I'd just have a splitter window and a form view on the right, with a bunch of different dialog templates tied to the buttons on the left. A CHTMLDialog seems very limiting to me, I've never used one.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Printing/Imaging (printer drivers,GDI ) Iam new awardee and not been to seattle.
I actually was doing it the same way as you suggested with buttons on left and splitter window
on formview, when I hit CHtmlDialog in msdn.
Thanks for thoughts
Cheers
Vipin - MVP
|
|
|
|
|
Congratulations on the MVP. If I make it through in April, maybe I'll see you later this year
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
You could do a formview in both panes, and use the article from cp that describes how to put html links in a dialog box, like this one:
http://www.codeproject.com/staticctrl/cmyhyperlink.asp[^]
------- sig starts
"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I would use a CRichEditView (so that hyperlinks can easily be displayed, and you can scroll vertically) in the left pane and a CHtmlView in the right pane.
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
what is windows service ,
How can i create my own service
say i have my application .
Is it realted to COM.
Vikas Amin
Embin Technology
Bombay
|
|
|
|
|
|
|
<blockquote class="FQ"><div class="FQA">vikas amin wrote:</div>what is windows service ,
How can i create my own serv</blockquote>
http://www.commsoft.com/services.html
Good Site to read about Services!!
Suriya
|
|
|
|
|
Hi,
I need to print the SDI dialog and found the following code
http://www.codeproject.com/printing/prntscreen.asp
The code worked fine but the print out image is a
kind of small.
Does anyone know how to change the setting to print
the bitmap image a bit larger if possible?
Thanks,
Kevin
|
|
|
|
|
I found the answer.
StretchDIBits(
hDC, // hDC
10, // DestX
10, // DestY
(int) sizePrn.cx, // nDestWidth
(int) sizePrn.cy, // nDestHeight
0, // SrcX
0, // SrcY
sizeClient.cx, // wSrcWidth
sizeClient.cy, // wSrcHeight
lpDIBBits, // lpBits
&bmInfo, // lpBitsInfo
DIB_RGB_COLORS, // wUsage
SRCCOPY); // dwROP
Change sizePrn.cx, sizePrn.cy can resize the print out.
Kevin
|
|
|
|
|
I need to modify CxImage library function to include CArray as a parameter.
I have no clue how to include reference to afxtempl.h in CxImage project library.
I am basically asking how to add to current CxImage library.
I tried to use plain #include preprocessor directive but I get a error saying that I am trying to include stuff which is already included in window.h header.
Using VC 6.0 and MFC.
Thanks for your help.
Thanks for your help.
Vaclav
|
|
|
|
|
Vaclav wrote: I tried to use plain #include preprocessor directive but I get a error saying that I am trying to include stuff which is already included in window.h header.
If it says that, then it must be there already, surely ?
Why do you want to do this ? One way out would be to ditch CArray ( which is crap ) and use std::vector. I doubt that's already been included by windows.h
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Christian Graus wrote: One way out would be to ditch CArray ( which is crap )
I see people say this all the time. Why is CArray "crap"?
------- sig starts
"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|