|
Perhaps the problem is with using DevStudio. I'm simply using two instances of Visual C++ 6. Is that the same thing?
|
|
|
|
|
Kevin Ranville wrote:
I'm simply using two instances of Visual C++ 6. Is that the same thing?
No. All that should happen then is the "other" DevStudio showing a message that a file has been modified and should be reloaded (if it had that file opened at the time it was changed).
BTW: You should be doing the Drag-N-Drop only across a single instance of DevStudio... Just open both files in DevStudio.
Peace!
-=- James.
|
|
|
|
|
To copy a dialog D from project P1 into project P2, do the following:- Open project P2 in DevStudio and click the Resources tab when the project has loaded.
- Drag P1.rc into DevStudio. It will display as a group of resources. Select the dialog (or any other resource) you want to copy, and do Edit|Copy.
- Click the root of project P2's resource tree and do Edit|Paste.
This will copy the resource (but not the source files). You'll need to copy (and later edit) the appropriate files to P2's directory and Project|Add|Files them to the project.
/ravi
"There is always one more bug..."
ravib@ravib.com
http://www.ravib.com
|
|
|
|
|
I tried this as well. When I select the destination Resource tree "Paste" is greyed out.
|
|
|
|
|
You are working with thw Soursafe?
Regards...
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
You are working with the Soursafe?
Regards...
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
Kevin,
Are you accessing your project thru a version control system like SourceSafe or ClearCase? If so, you'll first need to check out the P2.rc and P2's resource.h files in order to modify them. If not, make sure these files aren't read-only. Hope this helps.
/ravi
"There is always one more bug..."
ravib@ravib.com
http://www.ravib.com
|
|
|
|
|
Great! Thank you for this tip.
|
|
|
|
|
Like the subject says, I'm trying to build an application which will detect a user's current network settings and, if not found, install TCP/IP. Right now I've got a working application, but it's a bunch of registry hacks and requires a reboot.
If anyone can at least point me in the right direction, I'd be most gratefull. I'd assume there's a bunch of functions that handle this functionality for me instead of having to manually edit the registry. I just have yet to find anything that covers this topic.
Any help is greatly appreciated. Thanks.
-Beak
|
|
|
|
|
Right now I've got a working application, but it's a bunch of registry hacks and requires a reboot.
Did you manage to install TCP/IP programmatically? Well, congratulations, but chances are your code works only for your particular OS and SP. I'm afraid there's nothing like a system API that you can call to initiate the intallation of the TCP/IP stack. Best way to deal with this is IMHO to instruct the user to manually install the TCP/IP stuff himself. Remember that in order to do that the user will have to insert his own Windows CD (providing the required files yourself would be illegal).
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
IMHO, this is a very very very very very very very very very bad idea.
All you will end up doing is screwing up people's machines.
Tim Smith
Descartes Systems Sciences, Inc.
|
|
|
|
|
I briefly worked on a firewall app that did programatically install networking components. However, the APIs are totally undocumented (and for good reason). I never saw the code, so I don't know what the APIs are, but they do exist.
--Mike--
My really out-of-date homepage
He who laughs last, didn't get the punchline and is just laughing so he won't look silly.
Sonork - 100.10414 AcidHelm
Big fan of Alyson Hannigan.
|
|
|
|
|
can u find out any way to do this programmatically?
Infact i m also in need of that and can't find any help on the net.
Regards,
coolvcguy
|
|
|
|
|
Hey Folks,
Has anyone had any luck with displaying MessageBoxes at the highest z-order?
I have a multi-dialog application which generates error-messages, but often, the messagebox is hidden behind another dialog.
For the MessageBox HWND, I've tried various things, including GetFocus(), etc, but I get various results... Is there a function which returns an HWND that might get me the results I want?
Mike.
doner@obtain.com
|
|
|
|
|
Have you tried any of the flags MB_SYSTEMMODAL and MB_TASKMODAL ? Check the documentation of ::MessageBox for more info.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
str.FormatMessage(_T("%1!d! of %2!d! developers agree: Hockey is %3%!"), nAgree, nAsked, _T("Best"));
What do the "!" do in the formatted string? I've never seen this syntax before.
Jon Sagara
What about ?
|
|
|
|
|
It is an extended format syntax explained in the documentation for ::FormatMessage which follows the pattern
%index!format_specifier!
where index selects the parameter to replace the slot with, and format_specifier is an optional specifier following the syntax of printf and related functions.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Ok, then that explains why CString::FormatMessage(...) "allows for the parameters to be inserted in an arbitrary order."
In my particular case, this must be used by Localization in case they need to reorder parameters in the strings.
Thanks.
Jon Sagara
What about ?
|
|
|
|
|
Hi
Does anyone know a free C/C++ compiler that will produce 16-bit dll:s for windows?
|
|
|
|
|
Try in the Borland Site...
Best Regards....
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|
|
Failure, unfortunately. Thanks anyway.
|
|
|
|
|
The Free C/C++ Compilers section of thefreecountry.com lists several products that might do for you (like the old Turbo C compilers that are listed here as offered for free).
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
how to work with SetMenuItemBitmaps() and set the size of the bitmaps with GetSystemMetrics(SM_CXMENUCHECK)
example will be great !
|
|
|
|
|
Hi All,
I want to display some data in multiple column ListBox. In 1st column I want to display
Attribute-Name and in 2nd column Attribute-Value.
What I need to Do?
I’ve a dialog-box created, in which I added a ListBox Control.
Any suggestions are welcome
Thanks,
-- Sumit
|
|
|
|
|
You need to Use a List View....
Best Regards....
Carlos Antollini.
Sonork ID 100.10529 cantollini
|
|
|
|