|
Dont need to same question.
|
|
|
|
|
Hiii all
i want to know what is the structure of a vc dll if you want to make an independent dll that can be assesble from some asp page how can it be done....
Thanks in advance
vikas da
vikas da
|
|
|
|
|
|
Hi All,
I am new to this forum ....
can any body tell me how inheritence can be achieved in structure..
Thanks in advance
vikas da
|
|
|
|
|
If you are aware of inheritence using classes then replace the class keyword with struct.(Note: Try this with C++ only)
Ex:
struct a{ } ;
struct a : public b{
private:
----
protected :
-----
public :
-----
} ;
|
|
|
|
|
Thanks Mahesh...
But I really didnt understand what is the difference between struct and class other then by default visibility... can u plzzz explain me...
Thanks
Vikas da
vikas da
|
|
|
|
|
The basic difference between a class and struct is with respect to scope.
The class members are default private and struct members are public.
In addition to this a struct should be used the way it is done in c and use class where you need attributes and behaviours.
|
|
|
|
|
so if i start giving always public,private and protected modifier then i can do everything what ever am doing in class and i can replace the class with structure where ever am explicitly specifying the acess modifiers .... is it???
Thanks
vikas da
|
|
|
|
|
|
Oke. Thanks Mahesh i will try this at home...
vikas da
|
|
|
|
|
C Mahesh wrote: In addition to this a struct should be used the way it is done in c and use class where you need attributes and behaviours.
Hi can you please make bit clear about this.
Nice talking to you. If you judge people, you have no time to love them. -- Mother Teresa
|
|
|
|
|
C Mahesh wrote: struct a : public b{
You don't even need the public keyword there - with struct inheritance is public by default.
|
|
|
|
|
If you have worked with classes then replace class with struct.
Ex:
struct a{ } ;
struct b : public a{ };
|
|
|
|
|
Please ignore this, as my browser had some problem.
thanks
Mahesh
|
|
|
|
|
wat functionality is needed to convert midi to wave using MFC ???
|
|
|
|
|
See this[^] thread does helpful?
|
|
|
|
|
mozilla is not supporting --
document.form1.text1.focus.
&
text1.value
where text1 ia an input type..can any one tell me the alternate plzzz
hiiiiii
|
|
|
|
|
Does this a c++ question?
|
|
|
|
|
I need to implement Copy,Cut & Paste to and from Windows Clipboard functionality on my C++ App, I see on web that I need to use functions:
BOOL SetClipboardText(LPCTSTR pszText)<br />
int GetClipboardText(LPTSTR pszBuf, int nLength)
but I can I get the selected text of a textbox or a selected object?
Thanks
|
|
|
|
|
|
If you are using MFC, use CEdit::Copy(), CEdit::Paste().
But I'm still wondering where have you found SetClipboardText(). There is no such windows API
rrrado
|
|
|
|
|
CDRAIN wrote: I need to implement Copy,Cut & Paste to and from Windows Clipboard functionality on my C++ App
For edit controls, this is "on" by default.
CDRAIN wrote: ...can I get the selected text of a textbox or a selected object?
Are you looking for GetWindowText() ?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi CDRAIN,
try GetClipboardData and SetClipboardData functions. Maybe this is what you're looking for.
cheers!
|
|
|
|
|
I want to develop a video player of my own with my own specifications but i am not sure from where should I start for, I am totally new to window programming. Can you please direct me that what can I use for this purpose?
|
|
|
|
|
First, look at an open source player such as Videolan[^].
It's a very large task unless you simply want to embed WMP.
Elaine
|
|
|
|