First  |  Prev |  Next  |  Last
Pages: 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
How To: CStatubar panel Right-align text
How do I set the text alignment to the right in a CStatusBar panel cell? For example, in this case I am using it for a online timer, the width is set like so, in the dialog OnCreate() override: UINT style, id; int width; m_wndStatusBar.GetPaneInfo(4, id, style, width); m_wndStatusBar.... 27 Mar 2010 16:34
MFC under VS2010
I am about to finally *commit* product porting and new development under VS20xx. Currently have VS2005 and successfully recompiled all our projects and MFC applications. 139 of 150 projects in total where moved over. But we never felt good to release it as an update. About VS2010, we definitely going to upg... 6 May 2010 20:58
MDI App: start 2 DocTemplates in CMyApp::InitInstance
Hello NG, when I start my MDI App, 2 DocTemplates are opened with OpenDocumentFile(NULL). Each window has special and time costing function calls in OnInitialUpdate. Now I want the first window to be ready initialized and shown, and after that open the second window. Sleep not work between both OpenDocumentFile.... 26 Mar 2010 14:23
CMFCMenuBar as a context menu ?
Hi, How can I display a CMFCMenuBar as a context menu ? Thanks. ... 29 Mar 2010 01:32
"Failed to create empty document" or the different between WM5 &
Hi everyone, I have some troubles with my application's toolbar. Please see some lines of code following: int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) { if (CFrameWnd::OnCreate(lpCreateStruct) == -1) return -1; if (!m_wndCommandBar.Create(this) || !m_wndCommandBar.InsertMenuBar(IDR_MAINFRAME)... 26 Mar 2010 13:12
Apology to Joe
It just occurred to me that I probably should learn virtual memory systems much better than I know them. I just remembered that the instructor cancelled the final exam in the operating systems class so I never studied the material from the last half of the book. I do remember something about locking pages so... 26 Mar 2010 13:12
MFC and COM components
I never did this before under MFC C/C++. I added COM components to the Toolbar right click the ToolBox | Choose Items and selected some Microsoft components, specifically the Microsoft TabStrip component. It was added to the palette and now I can drop the control into the dialog form. Then I ri... 26 Mar 2010 19:16
Releated to JIT Error
Hello, I am facing following problem.Need Help. Error message is comming : ----------------------------------------------------------------------------------- JIT Debugging component registration is incorrect Please repair the installation of the most recent version of Visual Studio.Net or Remote Debugging compo... 26 Mar 2010 09:11
How to draw custom text on Title bar like "Send Feedback" on windows 7 beta
You need to say more about this. generally, this is handled by subclassing the MDI child frame and clearing the FWS_ADDTOTITLE flag in the styles; this allows you to SetWindowText anything you want any time you want, but if you DON'T SetWindowText, you will have a blank title. Google for FWS_ADDTOTITLE for lots... 24 Mar 2010 18:11
I have moved on to testing our deployment. The app data destination is not on the drop down in 9.0. But I've found that entering: [LocalAppDataFolder]\MyAppData Makes it work flawlessly. So I'm satisfied with my deployments now. It gets you one folder for all the data, with full privileges for your app, tes... 24 Mar 2010 17:03
First  |  Prev |  Next  |  Last
Pages: 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43