|
In the ResourceView tab, view the properties for a resource. In the prop sheet there's a Condition edit box, so enter a preprocessor symbol there (for example, _DEBUG , or you can make up your own). That turns into a #ifdef _DEBUG (or whatever symbol) in the .rc file.
You can change the defined symbols on the Resources tab in the project settings.
(Note: this is for VC 6, no idea how it works in 7 but it's probably completely different)
--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber
If my rhyme was a drug, I'd sell it by the gram.
|
|
|
|
|
|
I've got an application which really needs a "House Doctor/Changing Rooms" type makeover. Can anyone suggest a solution that is relatively quick, easy and hopefully free? It looks a lot better when I run it in XP, but I want something a bit tastier looking in Win2K as well. Rather than do a load of searching, which I haven't got time for, I was just wondering if there's any sort of well-trodden path to take?
"The folly of man is that he dreams of what he can never achieve rather than dream of what he can."
"If you think education is expensive, try ignorance."
|
|
|
|
|
Uhm.. what exactly is it that you want to do? Skinning? Theming?
--
I can't resist a touch of evil.
|
|
|
|
|
Jörgen Sigvardsson wrote:
Uhm.. what exactly is it that you want to do? Skinning? Theming?
I don't know. I don't know the difference between using a theme or a skin. What do your suggest? I just want it to *look* better than just another Windows dialog-based application...
"The folly of man is that he dreams of what he can never achieve rather than dream of what he can."
"If you think education is expensive, try ignorance."
|
|
|
|
|
I guess Visual C++ is not a right tool for that purpose, I mean great user interface with less coding effort. VB.NET, Delphi, C# or Java can do fancy user interface with lesser effort than Visual C++.
My suggestion is go for VB.NET. It is RAD and easy. It could cater most of the MIS requirement.
Of course, you would need a .NET framework for that.
If you are not opting for .NET. You could try out Borland Delphi or C++ Builder which ease of developing nice UI as well.
Hope this helps.
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
One way to make w2k look better (without too much effort) is to fiddle a little with edges, borders, icons, bitmaps and colors. 3d? Client edge? Flat? Different colors on error, warnings, etc? Images on buttons? Other than that I have no real good advice.
--
I can't resist a touch of evil.
|
|
|
|
|
Hi there!
I have a problem with the drag & drop feature. My situation is this: I have a dialog based program and I would like to drag & drop files from e.g. the Explorer window onto my program. This works fine IF I drop on the window! The problem is that I want to drop on my push button (to be able to distinguish it from another push button) but I can't get it to react on these buttons!
Could anyone pliz help me??????????
/The rookie!
Best regards.
|
|
|
|
|
|
No CLSID_DragDropHelper,IID_IDropTargetHelper and so on in this article[^]
Could u help?
Hello World!
|
|
|
|
|
|
is it possible to hack togheter a dialog in a resource designer and then use it as the main window? CreatwWindowEx() doesn't seem to accept a resource and I've tried using CreateDialog() but can't seem to create the dialog as the main window.
|
|
|
|
|
Yes, dialog-based applications are quite common.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Hi all!
I am using win32(no mfc) and ado.
After I filter my recordset I can no longer use the MOveLast() and MovePrevious() functions... (MoveFirst() and MoveNext() functions are working).
What can be the problem?
Thank you for your future answers!
Well... I am a beginner ...
|
|
|
|
|
Is it that you need to call Refresh or Update?
Sonork 100.41263:Anthony_Yio
|
|
|
|
|
Scolinks wrote:
I can no longer use the MOveLast() and MovePrevious() functions...
Which means?
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Hi - What I need to do is add a way to have a listbox file browser open so that users can select files to add to a list.
If you have VC7 and go to "Find in Files", and then click the "..." to the right of "Look In" - This is basically what I need to create.
Is there an ActiveX control to do this? Do you guys have any suggestions about how I should go about doing this?
Thanks.
|
|
|
|
|
|
I couldn't use SetWindowsHookEx function for cmd.exe or command.com(console windows)? Can any one please tell me How to use SetWindowsHookEx with some example?. SetWindowsHookEx is responding for any windows application but not for cmd.exe.
Viji
|
|
|
|
|
What type of hook (procedure) are you using?
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Hi
I encounter some problems while creating a new VC Custom Appwizard; the desired wizard should give the user a choise of creating dll or exe project. i also needed to add several details to the created dsp, according to the user's choice in one of the appWizard's dialogs, so i needed an access to the .dsp tamplate.
i succeeded in creating dll project because i had the proper .dsp tamplate but couldn't adjust it to be a .dsp of an exe project. where can i find such templates (for MDI, SDI, Dialog based - exe/dll projects) or is there another solution.
Thanks,
Yael
|
|
|
|
|
How can I create a cfg file and read from or write on it?
Thanks for helping!
|
|
|
|
|
|
Further to Michael's answer, it depends on whether you want to use Windows .INI style config files, or XML config files.
For the former, take a look at the functions GetPrivateProfileString and WritePrivateProfileString, but note that using these APIs is not really encouraged, as they're intended for 16-bit compatability.
For the latter, look at using MSXML or use whatever your choice in XML parsers happens to be.
--
Ian Darling
"The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
|
|
|
|
|
I'm going to use that in an MFC application to configure oracle connection. I want to use windows .INI style.
|
|
|
|