|
myRich.SendMessage(EM_SETSEL, -1, 0);
|
|
|
|
|
Thanks, but that didnt do it either......but thank you for helping.
Appreciate your help,
ns
|
|
|
|
|
If you explain your problem in detailes, think I would halp to sove it.
|
|
|
|
|
WHn my CrichEDitCTrl comes up in the app, it alreday has windowtext in it, but it shows up as selected....even though its read only...
Appreciate your help,
ns
|
|
|
|
|
Hi
I was wondering if it was possible to grey out checkboxes in a Treeview using any VC++ keywords or do we have to create our own code for this ?
Thanks for any help
Regards
Nitin
|
|
|
|
|
Hi!
Is there any way I can remotely terminate an application A from another application B?
I want the exact functionality provided by the "Kill Process" feature of the Process Viewer application on Visual Sutdio.
Any pointers?!
Thanks!
-Me
|
|
|
|
|
|
|
One advantage to dynamically DLL linking is using custom DLL if applicable. You may load non-MFC DLL including those you design and implement.
Kuphryn
|
|
|
|
|
Yes, I think the first entry in the search path for DLLs is always the current directory (your apps installation folder).
At my small app, I link MFC dynamically but I forgot why
Regards,
~ Florian
--
Florian Heidenreich
http://www.mp3tag.de[^]
|
|
|
|
|
Hi, if I have an iterator on a vector, does
iter - vec.begin() return the index of the very element into the vector?
I guess so, but didn't find a place that says it is.
So many people long for eternity that don't know what to do on a rainy sunday afternoon. [sighist] | [Agile Programming] [doxygen] If you look for evil in me you will find it whether it's there or not.
|
|
|
|
|
This is correct: iterators traversing an std::vector are random access iterators, so this kind of expressions are guaranteed to work.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
I want to default the CFileDialog class to browse from a folder in the network. I can't use the drive letter. The drive mapping to the folder can be different from client to client. I want to get the UNC path. I tried calling WNetGetUniversalName function, but I got an unresolved external symbol error message at linking. I am using VC++ 6 enterprise and Windows 2000.
Eilzabeth
|
|
|
|
|
Have you linked mpr.lib ?
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
I have never link a library to an application. I have done linking a DLL by entering the line at end of the stdafx.h file (#import "craxdrt.dll" no_namespace
). Would you please tell me what to do in case of mpr.lib?
Eilzabeth
|
|
|
|
|
Project->Settings->Link:Object/library modules. Add there mpr.lib separated by spaces. Do this for debug and relase configurations (combobox on the left top corner of the settings dialog).
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
I have a MFC Extension Dll which contains a class that takes in a CTreeCtrl pointer. The class searches a string in the tree. From my main program when a call this class in debug mode it works ok but in release mode it crashes. I am using win 2k and visual studio 6.0. The message box that pops up at crash says reference memory which was null (or something like it I could not remember the exact message) When I move this class to the main executable's project it again works fine.
Do I need to declare some macros in an extension dll before accessing and mfc object or can I pass around pointers freely between dlls as long as I am in the same thread ?
Any help is appreciated.
Orcun Colak
|
|
|
|
|
Here is one reference.
http://www.mindcracker.com/mindcracker/c_cafe/dll/extn_dll_dlg.asp
Kuphryn
|
|
|
|
|
Are you calling AFX_MANAGE_STATE macros at the very beginning of any exported function from the dll??
If you do not you may have problems sharing mfc resources and so on...
Have a look on the wizard's comments added on the cpp file automaticaly created to content the CAPP derived object.
hope to be useful
Greetings...
Just three words: void main(void)
|
|
|
|
|
Hi all,
I noticed that toolbar flickers on mainframe resizing on SDI
application while in MDI not.
You can verify this making two empty projects.
Do someone know how I can modify the sdi code to change it.
thanks
|
|
|
|
|
Is there a way to show a message box in the screen that DOES NOT stop the porcess of the program and DOES not require to press a button? What I want is a kind of display that lasts only as long as a particular process does, adn does not require interaction. It is to inform the user about what the application is doing?
I'm using VC++ 6.0.
|
|
|
|
|
what you need is a modeless dialog, or a tooltip.
there are articles here on CP about both.
-c
Be very, very careful what you put into that head, because you will never, ever get it out. --Thomas Cardinal Wolsey
|
|
|
|
|
|
I have an application that works with a C++ DLL; I would like to use a dialog box in my dll. I know how to create a dialog box in an independent project, but I don't know how to implement it with my library. I do not think I need to use the CWinApp class, because as I understand that class controls start-up, execution and termination of the application; in my case the application is controlled by the application that uses my dll. In short my question is how do I call my dialog box from my dll.
Thank you.
Note: The software that uses my DLL is called Scantools II for Windows.
|
|
|
|
|
I had a similar problem of writing a plug in DLL for someone else code.
In the end, I had a major nostalgia trip and used good old Win32.
Most modern programs that allow plugins let you make COM objects, which
are (relatively) simple using ATL.
If you want more help, you'll have to me specific about the way ScanTools II
is calling your DLL...
Good luck,
Iain.
|
|
|
|