Search:
Type: Posts; User: Haim B
Search:
Search took 0.06 seconds.
-
October 9th, 2003, 05:31 AM
O.K.
It seems that I know the reason why.
We need to add the enviornemnt variable to the preprocessor definitions in the resource tab in project settins (and not only in the c/c++ tab, general in...
-
October 9th, 2003, 05:12 AM
Hi,
I'm defining IDR_MAINFRAME and AFX_IDS_APP_TITLE in my .rc2 file depending enviornment variable. (its in .rc2 because in .rc file Microsoft does not accept #ifdef).
In debug version it works...
-
October 2nd, 2003, 09:30 AM
Hi,
Great to hear someone encountered the same problem.
Here is the answer:
#if defined _FIRST
IDR_MAINFRAME ICON DISCARDABLE "res\\icon_1.ico"
#elif defined _SECOND...
-
September 24th, 2003, 12:49 AM
Hi Sam,
thanks for your reply.
I've seen somewhere in MSDN the following: "... The Windows standard is to have only one version resource, named VS_VERSION_INFO...".
It seems to me that using...
-
September 23rd, 2003, 08:22 AM
It seems that multiple version resources can be defined.
I saw somewhere that only the one that defined as VS_VERSION_INFO (in other words, the one with value of 1), is taking into consideration:...
-
September 23rd, 2003, 06:28 AM
I have several questions regarding version information resource:
1. Can I have multiple version info resources for the same project? If yes, how can I select between them in compile time/runtime?...
-
September 23rd, 2003, 04:51 AM
OK,
After 2 fantastic weeks in beautifull Italy, I'm getting back to buisness.
I have several questions regarding version information resource:
1. Can I have multiple version info resources...
-
September 22nd, 2003, 08:45 AM
Hi myron,
for both of your questions the answer is true.
-
September 22nd, 2003, 08:26 AM
Hi,
Using SDI is my favorite option.
In the main frame insert splitter window member. Then override OnCreateClient as follows:
m_vertical_splitter.CreateStatic(this, 1, 2);
...
-
September 2nd, 2003, 07:38 AM
Hi,
After a lot of searching I found a class that do the work.
Look at:
http://www.codeproject.com/bitmap/pictureshow.asp?target=yovav
-
September 2nd, 2003, 01:58 AM
Hi,
I found the following:
http://www.codeguru.com/files/FileVersionInfo.html
-
September 2nd, 2003, 12:33 AM
Hi,
I can hardly assume that if no one answer, this cannot be done.
I've searched Codeguru and the only tip I found is to insert ActiveX Control of type "Microsoft Picture Clip control" - the...
-
September 2nd, 2003, 12:26 AM
Hi Sam,
thanks for your reply. I'll check this solution.
If you know of a good start point for version resource overview, it will make this thread a 5 star thread :-)
-
September 1st, 2003, 11:52 PM
Hi Sam,
Thanks for your reply.
I'm dealing with a concept our company call (and maybe well-known as) private lebeling:
Our customers want to 'label' an application we do as their own. For example,...
-
September 1st, 2003, 11:12 AM
Hi,
I want to use transparent .gif in my formview.
I've seen a lot of info of loading such images at run-time.
I would rather use it as a resource.
Any ideas, gurus?
-
September 1st, 2003, 02:42 AM
Hi,
The change should be at run-time. There is no meaning to .rc file at run-time.
Maybe MFC saves this string values at certain place that can be modified.
-
September 1st, 2003, 01:45 AM
Hi,
Thanks, it worked.
Is there a way to change resource file values in run time: like IDR_MAINFRAME?
Its actually the same problem: the main window title is generate from the first string,...
-
September 1st, 2003, 01:20 AM
Hi,
thanks for the quick reply.
SetWindowText() only change the title of the window.
But the application title is used in numerous cases, e.g. message box title.
MSDN documentation says about...
-
September 1st, 2003, 12:51 AM
Hi,
I know that I can change MFC application name by cahnging IDR_MAINFRAME/AFX_IDS_APP_TITLE.
But I need to change that value in run-time.
Any ideas?
-
August 25th, 2003, 09:41 AM
Hello,
Thanks for the quick response.
How can I obtain the region of certain element in bitmap?
-
August 25th, 2003, 09:02 AM
Hi,
Maybe with an example the problem will be clearer.
Lets say that I have a bitmap with a house, dog and a car in addition to other elements.
1. In certain cases I want the house will be...
-
August 25th, 2003, 08:24 AM
HI,
I would like to put a bitmap in my view. In the bitmap their are certain elements that I would like to behave as links. Those elements can have states, e.g enable(with colors) / disable...
-
July 28th, 2003, 04:41 AM
Well,
There is no much to show.
The command update handler is:
void CMainFrame::OnUpdateObjectDelete(CCmdUI* pCmdUI)
{
pCmdUI->Enable( b_existing_object && b_removable_item );
}
-
July 28th, 2003, 04:28 AM
O.K.
My problem got solved, when I moved the command handler and command update handler to the main frame class.
-
July 28th, 2003, 03:25 AM
Hi,
In my case the condition got changed but the handler doesn't get called after the change - so I would like to force him to get called.
It seems that call the handler directly (which CCmdUi to...
|
Click Here to Expand Forum to Full Width
|