I feel it is very difficult to solve this problem. But I believe there is a solution for all problems. So here is a spark: We can manually copy the entire text and caption form a message box using Ctrl+C (am not sure, will it work for all the message boxes). Check the link : http://secretgeek.net/msgbox\_copy.asp http://weblogs.asp.net/chuckop/archive/2004/04/08/110153.aspx So my idea is: What about simulating the Ctrl + C and take the text from clipboard? It is only a spark :~
anwer_skk
Posts
-
doubt in VC++ regarding Message Box -
modify color of a buttonHere is an example http://www.codeproject.com/miscctrl/subclassdemo.asp[^]
-
VC++I think it is quite difficult to implement, because that is against security settings of the browser. But there is a lateral way to do that. 1. Create a simple COM dll , and implement a function say Execute() in the dll. 2. In execute function; write the code to start your executable. (use System() or ShellExecute() functions ) 3. In your HTML write some client side scripts to Create the COM object and call the Execute() function. This is my idea to resolve the problem. -- modified at 0:40 Monday 29th May, 2006
-
How i remove a part of a stringyes that is true, btw what she/he wanted exactly ?
-
Speed up listview when adding thousands of itemsThere is an article in code guru for speed-up the list control using virtual list control. Please check the link; some times you may get some idea from that. http://www.codeguru.com/cpp/controls/listview/advanced/article.php/c4151/[^] -- modified at 22:46 Sunday 28th May, 2006
-
How i remove a part of a stringAnother method is : CString Test = "Remove the word TEST"; Test.Replace("TEST","");
-
File writeing [modified]try this; char buff[] = "Test Data"; CStdioFile file("c:\\Test.txt", CFile::modeCreate | CFile::modeWrite); file.WriteString( buff ); file.Close(); i think you forget to set file creation open flag.
-
How to view my C++ applicationIf your exe is a console application, add a getch() as the last statement in u r program. Don’t forget to include conio.h. -- modified at 9:53 Saturday 27th May, 2006
-
Window activationSetForegroundWindow() is working fine in my sample application. SetActiveWindow() only activates the window if the calling thread is foreground thread. Please see the KB http://support.microsoft.com/default.aspx?kbid=97925
-
Handling multiple display sizes and keep full screenDesigning of multiple dialogs for different monitor size is not a good design. U can use GetSystemMetrics() function to get the screen size. Eg : int nWidth = GetSystemMetrics( SM_CXFULLSCREEN ) ; int nHeight = GetSystemMetrics( SM_CYFULLSCREEN ) ; MoveWindow(0,0,nWidth,nHeight);
-
C++ CertificationAm not sure about the acceptability of brainbench. I think Microsoft just wanted to promote .NET certification.
-
MSMQ 3.0http://support.microsoft.com/default.aspx?scid=kb;en-us;317329#top[^] Check this link.
-
How to play a buffer(not a file or url) with window media player?I think you have to write some Direct Show filters (Hope a custom source filter is enough for this purpose)
-
C++ Certificationtry brain bench certification. ( http://www.brainbench.com[^])