|
The problem is displaying the text in FlexGrid cell. when number of characters in the cell exceeds 682 characters the text is getting overlapped. I have tried to solve this problem using WordWrap API and SetColWidth API. But I didn't get the solution. If anybody knows the solution, please post the solution.
Ramanan
|
|
|
|
|
I have CHtmlView -based MFC application, and a problem like this: if I open a PDF -document, the application opens Adobe Acrobat reader and shows the document okay, but when I try to scroll it by the code (for example with ScrollToPosition() -method), nothing happens. Is there a way to scroll the picture? Thank you for answers.
|
|
|
|
|
I am able to adjust the Playback volume control through VC++ code. But how can I access the Recording volume control. Any idea??
|
|
|
|
|
yes!it's so easy.first,you check in your debug.adjust,the playback volume control.if,cannot adjust through debug u your adjust through mother f***er....ha..ha..include<iostream..h>
|
|
|
|
|
What is the Difference Between Single Threaded Apartment model and Multi Threaded Apartment Model?
Why CoInitialize specifies the concurrency model as single-thread apartment?
Where can I find more Information about this.
Shenthil
|
|
|
|
|
Essentially, an STA coclass is designed for single-thread. COM protects the COM object via limiting access using a queue.
Under MTA coclass model, the developer is responsible for thread synchronization.
Kuphryn
|
|
|
|
|
if we dynamically allocate memory, it is allocated on heap...
is it just reference of that memory which is in stored in heap or the memory itself??
Muhammad Shoaib Khan
http://geocities.com/lansolution
|
|
|
|
|
Ofcource in the memory itself.
Programming is an art not a skill, every one can be a skilled programmer but not an artist.
|
|
|
|
|
The memory itself is stored in the heap. The function used to allocate the memory (new, malloc, etc) returns a pointer to the location in the heap.
Mike
|
|
|
|
|
How can i increase or decrease the Recording control microhpne volume??
|
|
|
|
|
hi,
can one write an exe that will run on DOS and windows ? I mean in windows it should be able to show message box, dialogs etc.
I am asking this because one program I downloaded from net seems to do this.
regards
hari
Hari Krishnan
|
|
|
|
|
you can display Message Box and call MFC in Win32 Console Applicationscreated in VC++
Muhammad Shoaib Khan
http://geocities.com/lansolution
|
|
|
|
|
That is a Win32 Console Application which you can do GUI in. With DOS applications you can't deal with GUI.
Rickard Andersson
Here is my card, contact me later!
UIN: 50302279
Sonork: 37318
|
|
|
|
|
I found that gethostbyname() would be failed if I disconnected the cable from the LAN adapter. However, if I re-connected the cable to the LAN adapter, it worked fine.
More info is:
If the cable is disconnected from the LAN adapter, ipconfig command will return the following:
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Any idea?
Thanks in advance,
lauch.
|
|
|
|
|
getHostByName() retrieves information from the DNS or WINS server. If you unplug the cable it has nowhere to look for the information.
"Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.
|
|
|
|
|
Thanks, Roger Wright.
Then, if I unplug the cable, how can I retrieve the IP address of the local machine?
I have used the following ways, but all they are failed:
1. Use API getaddrinfo()
2. Use API GetAdaptersAddresses()
3. Use INTRFC.exe sample, which in turn use the API WSAIoctl(s,
SIO_GET_INTERFACE_LIST, NULL, 0, &localAddr, sizeof(localAddr),
&bytesReturned, NULL, NULL);
In addition, I know the IP addresses are stored in the regitry. However, I want to use other ways to IP addresses if the cable is unpluged.
thx,
lauch.
|
|
|
|
|
I am having trouble getting a CPropertySheet to not fail create. I've set it up like this example:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_mfc_cpropertysheet.3a3a.create.asp
The differences are its not in a CView derived class. Does that really cause the Create to fail? It will be a huge pita to derive the outer class from CView.
I'm getting Assertion failed in dlgprop.cpp line 201, no other information.
|
|
|
|
|
The type of the parent view does not affect a property sheet.
Kuphryn
|
|
|
|
|
help me
i learn c++(programming language).you help me anyway.
(eg. books or website)
you new friend
than naing nge
Myanmar(burma)
|
|
|
|
|
Hello,
http://www.research.att.com/~bs/C++.html
http://www.cplusplus.com/
http://www.msdn.microsoft.com/visualc/
http://www.codeproject.com;P
http://www.codeguru.com
With Regards,
R.Selvam
|
|
|
|
|
use some good book like "Thinking in C++" "Effective C++" "The C++ programming language by Bjarne Stroustrup"
and offcourse
codeproject.com
Muhammad Shoaib Khan
http://geocities.com/lansolution
|
|
|
|
|
If you have programming experience and want to learn C++ (as opposed to learn programming), I can recommend "Accelerated C++"[^] by Andrew Koenig / Barbara Moo.
Who is 'General Failure'? And why is he reading my harddisk?!?
|
|
|
|
|
"Thinking in C++" by bruce eckel is free and hardcore, but if you are very new to c++, i recommend that you open C++ complete reference first and then go for Thinking in C++, and C++ is in you!!!
cheers
Balkrishna Talele
|
|
|
|
|
I compiled my project at home without any errors but when I opened it on another pc and edit the code, the compiler encounter error: cannot open include file 'afxdao.h': no such file or directory.
Hwo to resolve this?
|
|
|
|
|
Hello
afxdao.h file missed in your system. So, you can copy afxdao.h file in to VC++ program files include directory.
With Regards,
R.Selvam
|
|
|
|