|
|
Is it allowed to post soapbox(kind of) material here?
|
|
|
|
|
Hi,
I have a OpenGlView extended from a CView. I then extend from OpenGLView to get e.g. a TexturedSceneOpenGLView.
However when I do this only the OpenGLView is constructed and the OnPaint and other handlers for TexturedSceneOpenGLView are not called.
Does anyone know how I can make this work or offer any alternative suggestions.
Kind Regards,
flip
|
|
|
|
|
I don't understand exactly what your problem is... So you have a OpenGLView class that inherits from CView. Then, you have another class (TexturedSceneOpenGLView) that inherits from OpenGLView ? Is that right ?
And, what is exactly the problem ? Can you post some code ?
|
|
|
|
|
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
|
|
|
|
|