|
I still have no idea what you are trying to achieve
|
|
|
|
|
I am having a class which is inheriting CEdit class ..........
But when I try to do ctrl c and ctrl v in the edit box of my dialog it does not perform copy paste.
but if I right click and then copy and paste then it is working fine.
|
|
|
|
|
MFC dialog some times blocks keyboard messages for its controls - really no good.
You can override key-down message of CEdit to see if CTRL-C is sent to CEdit, if not, use PreTranslateMessage(...) of dialog to send messages you need to the CEdit.
|
|
|
|
|
includeh10 wrote: MFC dialog some times blocks keyboard messages for its controls - really no good.
I thought there was someting in resource files for defining a connection between particular key combinations and commands; ACCELERATORS or similar?
|
|
|
|
|
How can we remove/rename a manifest entry programatically?
|
|
|
|
|
A manifest is simply a resource stored in the .rsrc resource section of the executable. You can modify/update or remove it with the UpdateResource Function[^]. You need to call it with lpType argument set as RT_MANIFEST. RT_MANIFEST is #defined as integer 24.
Best Wishes,
-David Delaune
|
|
|
|
|
I am having a class which is inheriting CEdit class ..........
But when I try to do ctrl c and ctrl v in the edit box of my dialog it does not perform copy paste.
but if I right click and then copy and paste then it is working fine.
|
|
|
|
|
Hi to All,
I am using a MS Flex Grid in my learning application. I have 3 columns in it.
Having a problem of selecting rows. Could anyone please help me out with the following problems
1.
..Whenever I select a row, the blue line appears only for the 2nd and 3rd columns in that row, not for the first one in that row.
2.
..I want to use the arrow key to select columns. Is there any inbuild method for that, or I need to program it.
3.
.. To delete a row by pressing the delete column.
Please help me
thanks in advance.
-----------------------------
I am a beginner
|
|
|
|
|
Dear Experts,
I want the exact code for the following
1.How to connect active directory using visual c++
2.How to get user properties of active directory using visual c++
|
|
|
|
|
raja 4 wrote: 1.How to connect active directory using visual c++
2.How to get user properties of active directory using visual c++
You should be able to find it here[^].
|
|
|
|
|
Hello
Can anybody recommed me about the good book of C++.I am not beginer but i often find difficulties
in classes and pointers ,means any book who will help to make big project ,project with more and 100 files .
Thanks in advance
|
|
|
|
|
A bit dated (as C++ ! ) list here [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
You may also suggest Chris to update is article with your titles.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hello
everybody
First of all i would like to give thanks to everybody because always i got help from here .
Is existing any type of common pointer in c++ .If yes please tell me how it works and where we
have to create and define.What are the advantages of these type of pointer .
|
|
|
|
|
What is a 'common pointer'?
Are you talking about a global variable?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
johnjitu wrote: Is existing any type of common pointer in c++ .
What do you mean exactly by "common pointer" ?
Are you talking about an untyped pointer (void*) ?
|
|
|
|
|
Yes really guy i am confused ,but yes its like gobal pointer and any class can use it ,
like i have class called C_InterfazRadio and it does not has any pointer directly assigned to it and
but if i want to use its member funcion in other class whose didnot drived from it ,i will need a pointer to call its member function.
C_InterfazRadio *pIfzRadio = (C_InterfazRadio *) puntGen.pIfzRadio;
POINTEROS_GENERALES puntGen defined in other file.
POINTEROS_GENERALES is defined as typestruct in other file .
I hope i could explain my problem .
|
|
|
|
|
What do you want to do exactly (i.e. can you be more precise with your example)?
And: why do you want to do it?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
You mean something like a global variable, that would in turn be available for manipulation all over the source files?
*Shudder*
Take a look at your design again. It could be seriously flawed.
Or if you meant something like a macro, then put it in a header file and include it wherever needed.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
There are lots of reasons to have a global variable without being "seriously flawed". See my other reply.
|
|
|
|
|
Which is why I said it "could" be flawed, instead of it is flawed. And asked him to check the design.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Well, this poor guy asks about global variables and he gets no helpful replies, just people asking "why" he wants to do it or questioning the "design". I can't figure out why nobody would just answer the simple question.
|
|
|
|
|
It's not that I don't want to answer how to use a shared variable. Do you think the answer is difficult?
I suspect that he's trying to do something that can be done in other fairly better. I wanted him to do things the right way. He hasn't answered my question, so I don't know what he's trying to achieve.
People can co-operate a little when someone is willing to expend their time, you know?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Rajesh R Subramanian wrote: It's not that I don't want to answer how to use a shared variable. Do you think the answer is difficult?
Don't be insulting, of course I know it's simple. I said it was a simple question in the reply you are responding to plus I already posted the answer.
Rajesh R Subramanian wrote: I suspect that he's trying to do something that can be done in other fairly better. I wanted him to do things the right way.
Your definition of the right way. His definition of the right way was to use a global / shared variable.
Rajesh R Subramanian wrote: He hasn't answered my question, so I don't know what he's trying to achieve.
So until he passes some sort of design review conducted by you, you refuse to answer his question. That's an OK answer for somebody asking about designing a database or entire application but for goodness sake, he only wanted to know how to go about declaring and using a global variable, hardly inquisition material.
|
|
|
|