|
what about removing WS_BORDER style ?
|
|
|
|
|
As you know, it is possible to change the Border of one CEdit control from true to false
(in the Properties Window). So, I want to change the Border of one CEdit control to false
at run time.
Thanks.
|
|
|
|
|
Mohammad Khodaea wrote: As you know,
yes, what do you think i answered then ?
use ModifyStyle()[^] on your CEdit, and remove it the WS_BORDER style I quoted in the previous answer.
If you don't know how to remove a particuliar bit in a DWORD, read this[^] article.
|
|
|
|
|
you try this fuction:
ModifyStyle(WS_BORDER,0,SWP_DRAWFRAME);
it can remove BORDER style from the Edit
|
|
|
|
|
iam encoding some text....after getting the encoded text,then i want to convert this text into bits for modulating purpose..pls give me suggetion to encode some text into bitstream
|
|
|
|
|
if you want help, you should at least indicate the format of the text you get, and how you want it to be transformed...
|
|
|
|
|
i encoded the text "ABC" using CCITT1 encoding technique and i got the text as "#V" now i want to convert this encoded text #V into bitstream.....
|
|
|
|
|
any particuliar format you must have in your bit stream budy ?????
|
|
|
|
|
Mr.toxcct,
i want to generate each Charecter in 8bits and i want to store this genrerated bits in an array..
looking for ur help
|
|
|
|
|
a char is already 8 bits... just store it as is.
what have you tried so far by the way to achieve this ?
|
|
|
|
|
hii everyone.. i am new to vc++.i have a text box on which half the text to display is common and the other half is entered by the user.The common half of message is diplayed in the textbox using SetWindowText but the cursor is displayed at the starting position.I want the cursor to display at the end the text in the textbox. Can anybody help me out
|
|
|
|
|
overload the ON_EN_SETFOCUS event and use myedit.SetSel(theStr.GetLength(), theStr.GetLength()) for instance
|
|
|
|
|
could you be some more specific as im new to vc++ i cannot understand it.
|
|
|
|
|
If you really did not understand what toxcct said, then you must read a book before you could ask questions here.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->ßRÅhmmÃ<-·´¯`·.
|
|
|
|
|
Hi.
You have to create your own CEditEX class, (in example) derivated from CEdit. So then, you will be able to override some messages and use CEdit methods like SetSel() and so on.
Make a search about "windows subclassing" here in CP and you will find a lot of articles.
Kind regards.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
I have to think about a development involving mobil phones and security cameras.
The fact is, someone could check a security camera from his cell phone anywhere.
What I need it's just something to read, maybe someone of you had seen an article about that before.
I thought in JAVA for cell phone software client and in C++, (or C#) for server side application that receive the incomming connection from phones.
I really appreciate any suggestion.
Thank you very much.
Cheers.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
Hello all,
I am having two exe's and i am calling one exe from another exe using ShellExecute() function. My problem is i want to pass some variable values from one exe to another. How can i do this??
Thanks in advance
|
|
|
|
|
neha.agarwal27 wrote: How can i do this??
As commandline...
|
|
|
|
|
Hi.
You could use the Windows registry.
Cheers.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
Demian Panello wrote: You could use the Windows registry.
good software design should not include registry as active place for data share between two application
|
|
|
|
|
neha.agarwal27 wrote: My problem is i want to pass some variable values from one exe to another
when spawning the 2nd program, or during its execution ?
|
|
|
|
|
Hi,
1. If variable is required before starting another exe then pass that variable as command line.
2. If you want to pass variable after starting another exe then use Inter Process Communication such as WM_COPYDATA, Pipes and Shared Memory.
Amar
|
|
|
|
|
Amar Sutar wrote: WM_COPYDATA, Pipes and Shared Memory.
they are one of best IPC mechanism, but i recommend you discourage use of PIPe.. Window message is also good option
|
|
|
|
|
|
Hello everyone,
I am learning the storage area of Windows memory, but I am not sure what is the usage for Free Store area, what is the differences between Free Store area and heap area?
http://www.gotw.ca/gotw/009.htm
--------------------
Free Store The free store is one of the two dynamic memory
areas, allocated/freed by new/delete. Object
lifetime can be less than the time the storage
is allocated; that is, free store objects can
have memory allocated without being immediately
initialized, and can be destroyed without the
memory being immediately deallocated. During
the period when the storage is allocated but
outside the object's lifetime, the storage may
be accessed and manipulated through a void* but
none of the proto-object's nonstatic members or
member functions may be accessed, have their
addresses taken, or be otherwise manipulated.
--------------------
Could anyone provide more information or sample please?
thanks in advance,
George
|
|
|
|