Type: Posts; User: vandy_mike
Search took 0.02 seconds.
February 22nd, 2012, 10:44 AM
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...
February 21st, 2012, 12:32 PM
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...
February 17th, 2012, 02:53 PM
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...
February 17th, 2012, 12:22 PM
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...
February 17th, 2012, 10:32 AM
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...
January 20th, 2011, 01:22 PM
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...
January 19th, 2011, 04:45 PM
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...
January 18th, 2011, 06:30 PM
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...
January 18th, 2011, 05:56 PM
pCmdUI->GetText() does not exist... so I would still have to do something like GetMenuString.
That doesn't help me for "pop-up" menus, only the items in the pop-up.
January 18th, 2011, 02:53 PM
so then you would suggest changing ALL of the functions such as...
void CDocType1View::OnUpdateEditGroup1(CCmdUI *pCmdUI)
CMenu *pMenu = AfxGetApp()->m_pMainWnd->GetMenu();
January 18th, 2011, 02:42 PM
This had no impact at all. It looks like my check to bActivate was probably sufficient... but I'm still getting a crash.
January 18th, 2011, 02:13 PM
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.
January 18th, 2011, 02:10 PM
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.
January 18th, 2011, 01:59 PM
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...
January 18th, 2011, 01:37 PM
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...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!