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

Search:

Type: Posts; User: vandy_mike

Search: Search took 0.01 seconds.

  1. Re: GetDeviceCaps issue in Windows 7, wrong size

    I understand that the percentage difference is so small... that is why I called it a "close enough" solution. However, I am wondering if anyone has a way for me to get from "close enough" to...
  2. Re: GetDeviceCaps issue in Windows 7, wrong size

    I implemented Ofek's solution, this goes further to proving my problem... but not so much helping to find a solution.

    For the computer that I am working on now... the numbers that I am getting...
  3. Re: GetDeviceCaps issue in Windows 7, wrong size

    I appreciate your code but you have missed the crux of my problem...

    When I run my program using Windows 7, pDC->GetDeviceCaps(HORZSIZE) and pDC->GetDeviceCaps(VERTSIZE) return 564mm and 318mm...
  4. Re: GetDeviceCaps issue in Windows 7, wrong size

    No... this isn't a DPI issue. As you can see from my post, GetDeviceCaps thinks that the physical size is 50 - 60% larger. I have tried making my projects DPI aware in the past but it only really...
  5. GetDeviceCaps issue in Windows 7, wrong size

    I am having an issue with my application now that I am starting to use newer Windows 7 computers. I know that this is a windows 7 issue because I have duplicated this on multiple computers, multiple...
  6. Replies
    19
    Views
    4,302

    Re: [RESOLVED] Trouble with MDI GetSubMenu

    I do see the merit in what you are suggesting, but in my case - the menu arrangement is static. I don't need to worry about the "File" menu being 1st or 3rd. My only requirement is that I'm doing a...
  7. Replies
    19
    Views
    4,302

    Re: Trouble with MDI GetSubMenu

    For what it's worth... to anyone else who runs into this problem...

    This issue is when I try to access the submenus using MF_BYPOSITION. The cause of this problem is that when any MDI child...
  8. Replies
    19
    Views
    4,302

    Re: Trouble with MDI GetSubMenu

    Since I'm getting a pointer for the main window at the beginning...

    I would imagine that this means I'm re-using the same menu. Either way, I don't see why I can sometimes access the submenu of a...
  9. Replies
    19
    Views
    4,302

    Re: Trouble with MDI GetSubMenu

    First...

    pCmdUI->GetText() does not exist... so I would still have to do something like GetMenuString.

    Second...

    That doesn't help me for "pop-up" menus, only the items in the pop-up.

    ...
  10. Replies
    19
    Views
    4,302

    Re: Trouble with MDI GetSubMenu

    so then you would suggest changing ALL of the functions such as...


    void CDocType1View::OnUpdateEditGroup1(CCmdUI *pCmdUI)
    {
    CMenu *pMenu = AfxGetApp()->m_pMainWnd->GetMenu();
    ...
  11. Replies
    19
    Views
    4,302

    Re: Trouble with MDI GetSubMenu

    This had no impact at all. It looks like my check to bActivate was probably sufficient... but I'm still getting a crash.
  12. Replies
    19
    Views
    4,302

    Re: Trouble with MDI GetSubMenu

    Isn't this what I'm doing in "OnActivateView" right before the call to "RebuildMenu"? I would think that the condition of bActivate == TRUE would take care of this.
  13. Replies
    19
    Views
    4,302

    Re: Trouble with MDI GetSubMenu

    Wouldn't that just update the text once you mouse over? I want the text to change as soon as the operator changes from English -> Spanish (etc.), not when they actually go through the menu system.
  14. Replies
    19
    Views
    4,302

    Re: Trouble with MDI GetSubMenu

    The translations are not hard coded. There is a database that the operator is able to modify so that they can have their own "custom" translations if need be. Because of that, I can't really create...
  15. Replies
    19
    Views
    4,302

    [RESOLVED] Trouble with MDI GetSubMenu

    I have a MDI program that is setup to support multiple languages. This app is configured to allow the operator to swap the language on-the-fly and all the menus/dialogs/etc will automatically switch...
Results 1 to 15 of 15


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center