First  |  Prev |  Next  |  Last
Pages: 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
Adding Edit Control to MainFrame.
I'm trying to add an Edit Control to MainFrame. I'm creating an instance of CEdit in the paint message like this: void SAFrame::OnPaint() { CFrameWnd::OnPaint(); CEdit *PEdit = new CEdit; PEdit->Create(ES_MULTILINE | WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER, CRect(10, 50, 150, 70), t... 25 Apr 2010 22:18
MFC SDI Application without a default “New Document” on Startup
I have an SDI application with multiple views. By default, it creates a new document when the application starts. I want to modify this behavior so that a new document is created only when user explicitly clicks on "New". Or at least mimic this behavior. I am using Visual Studio 2008 with MFC feature pack. I googl... 25 Apr 2010 21:13
VS2010 help viewer
Those who don't particularly care for the VS2010 help system (that's a euphemism for "are intelligent enough to recognize a complete piece of garbage when it's shoved down their throats) may want to take a look at H3Viewer, at: http://mshcmigrate.helpmvp.com/viewer While it's certainly not (even close to) p... 21 Apr 2010 14:40
Programmatically create an "Add Schedule Task"
Hello, How can I programmatically create an "Add Schedule Task" ? Is there any sample code available? TIA, -jc ... 19 Apr 2010 17:48
Exception in CFileDialog - why?
Hello, Does someone know why the CFileDialog throws CInvalidArgException if "recycled" (DoModal called the second time)? The problem happens only on Vista und Windows 7, and only if using bVistaSyle==TRUE. Creating the dialog with bVistaStyle==FALSE solves the problem, but it's a poor solution. Also, if file... 20 Apr 2010 01:03
Maximize 'off-centre'
Hi, Our app is a fairly straight forward MID with a maximize button. A user reported, (with a screen shot), that the app does not maximise properly. I can see that the app is indeed maximized, (the top left icon is the restore button), but it is slightly off centre. The top right is slightly to the left ... 19 Apr 2010 05:21
Retrieve mouse position
Hi, I am writing an app in which I need to retrieve the mouse coordinates even when it mouse is outside the main frame. How do I do it? Thanks! xg ... 19 Apr 2010 12:37
CEdit
Hi All, I would like to change the appereance of CEdit's buttons. Ideally, I would like to replace them with my own buttons (derived from CBitmapButton). I know all about the limitations of CEdit in terms of attempting to change the way it draws itself so before I even try to do something like this I would l... 22 Apr 2010 08:16
Application won’t launch from document
I’m porting an MFC VC 6.0 app to VS 2008. The application won’t launch by opening one of its documents (i.e., the app’s file type isn’t getting registered correctly). My document string is defined as follows (no, my app isn’t really named AppName <g>): IDR_MAINFRAME "AppName\nSystems\nSystem\n AppName Files (*... 23 Apr 2010 18:12
Strange CVSListBox behavior
I have strange CVSListBox heap corruption crash under the following environment: VS-2010, XP-SP3-32bit, Non-unicode, Statically linked MFC App, Debug CVSListBox is placed on the CPropertyPage. The same with Vista 32bit. Heap crash appears when I switch to the tab where CVSListBox located. At the same time this ... 20 Apr 2010 12:24
First  |  Prev |  Next  |  Last
Pages: 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38