Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Haim B

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. O.K. It seems that I know the reason why. We...

    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...
  2. #ifdef in .rc2 file in release version does not work!

    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...
  3. Hi, Great to hear someone encountered the same...

    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...
  4. Replies
    16
    Views
    9,979

    Hi Sam, thanks for your reply. I've seen...

    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...
  5. Replies
    1
    Views
    349

    It seems that multiple version resources can be...

    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:...
  6. Replies
    1
    Views
    349

    Version information resource manipulation

    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?...
  7. Replies
    16
    Views
    9,979

    Using version info resource for private labeling

    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...
  8. Hi myron, for both of your questions the answer...

    Hi myron,
    for both of your questions the answer is true.
  9. Replies
    2
    Views
    315

    Hi, Using SDI is my favorite option. In the...

    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);
    ...
  10. Hi, After a lot of searching I found a class...

    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
  11. Replies
    16
    Views
    9,979

    Hi, I found the following:...

    Hi,
    I found the following:
    http://www.codeguru.com/files/FileVersionInfo.html
  12. Hi, I can hardly assume that if no one answer,...

    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...
  13. Replies
    16
    Views
    9,979

    Hi Sam, thanks for your reply. I'll check this...

    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 :-)
  14. Replies
    16
    Views
    9,979

    Private labeling

    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,...
  15. How to show transparent gif in dialog (formview) ?

    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?
  16. Replies
    16
    Views
    9,979

    Hi, The change should be at run-time. There is...

    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.
  17. Replies
    16
    Views
    9,979

    Hi, Thanks, it worked. Is there a way to...

    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,...
  18. Replies
    16
    Views
    9,979

    Hi, thanks for the quick reply. ...

    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...
  19. Replies
    16
    Views
    9,979

    How to change application name at run-time?

    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?
  20. Replies
    6
    Views
    366

    Hello, Thanks for the quick response. How can...

    Hello,
    Thanks for the quick response.

    How can I obtain the region of certain element in bitmap?
  21. Replies
    6
    Views
    366

    Hi, Maybe with an example the problem will be...

    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...
  22. Replies
    6
    Views
    366

    Several links in bitmaps

    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...
  23. Well, There is no much to show. The command...

    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 );
    }
  24. O.K. My problem got solved, when I moved the...

    O.K.
    My problem got solved, when I moved the command handler and command update handler to the main frame class.
  25. Hi, In my case the condition got changed but the...

    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...
Results 1 to 25 of 60
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center