|
flip wrote: Subclassing CView twice with MFC
I think you are refering to deriving, subclassing in windows has a different meaning.
you said that TexturedSceneOpenGLView's OnPaint event is not called, just wanted to know if you have created an instance of that class and made the view visible?
-Prakash
|
|
|
|
|
can any one help me out
in convert WAV file to VOX,
Thanks in Advance
|
|
|
|
|
I dont know the format of VOX audio, but before you do, you need to get a codec for conversion for doing it programatically.
But if you need a tool, you can search google for any available converter.
-Prakash
|
|
|
|
|
I just voted u a 5 to nullify the 1 vote. I dont know why some moron voted you a 1
Regards,
|
|
|
|
|
Aamir Butt wrote: I just voted u a 5 to nullify the 1 vote. I dont know why some moron voted you a 1
awwwwww, Thanks
-Prakash
|
|
|
|
|
Hello members
Plz suggest me ,how to make the scroll Bar colourfull of a MDI application
I had created this in SDI ,but how to create this in MDI application.
Visual C++ query
Thanks in advance
rohini sharma
|
|
|
|
|
I have a toolbar using CreateWindowEx. How I show the mouse over effect like in MFC ( CToolBar control )
|
|
|
|
|
This style sets hot tracking on.
TBSTYLE_FLAT.
Love Forgives--Love Gives--Jesus is Love <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
I created an SDI in VC++. When I derive classes from MFC classes they are shown in the class wizard and windows message handlers can be added to those classes. When we again derive from these classes which are derived from the MFC classes, those are not shown in the class wizard classes list. So I m having problem adding windows message handlers to those classes which are at the second level of inheritance.
For eg:
I made a class named CListRs with base MFC class CListView. Then when I take the class wizard I can see CListRs in the class name combo box and is able to add message handlers to it. Now I made another class CMailView derived from CListRs. But it is not seen in the class name combo box of the class wizard. So I m unable to add windows message handlers to this class.
Can anyone please help?
Hoping for a reply
|
|
|
|
|
Try deleteing your *.CLW file and hit Ctrl+W. This will ask for create class view from exisiting file. add all file and create class view.....
|
|
|
|
|
Thanks for the reply. Tried that, but doesnt solve the problem. Now what to do?
|
|
|
|
|
Hi,
this is another dirty trick wich I use to do the same thing.
Derive your new class from CListView, this will add your new
class to the CWL. Then replace CListView with CListRS.
This works for me, hope it does the same for you
codito ergo sum
|
|
|
|
|
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
|
|
|
|