Strings again :( Hi - sorry this is my 3rd question recently. I'm having trouble with strings and characters and unicode in general; can anybody suggest a good article to read which explains the basics? My project is _UNICODE defined. However, a file I got from codeproject is not. Their code is below, but it cannot compile. c... 9 Jan 2009 13:19
Let 's talk about how to custom draw a window caption bar,any one interesting? Let 's talk about how to custom draw a window caption bar,any one interesting? 1. we know that we can custom draw a window caption in OnNcPaint 2. we also can custom the caption's height in OnNcCalcSize But if the window has a menu then i do not know how to draw. ... 7 Jan 2009 14:04
vc6 and HtmlHelp / SetHelpMode(afxHTMLHelp) I want to be able to use HtmlHelp for ContextSenstiveHelp using the vc6/vs98 IDE for release builds. I started with a vc71 wizard built SDI app with the checkbox for HtmlHelp selected. This generated: EnableHtmlHelp(); which becomes: SetHelpMode(afxHTMLHelp); which becomes: m_eHelpType = afxHTMLHelp; ... 26 Dec 2008 11:21
Linking error Hi all , I am using the fillowing function to build the glut.dll .. int gettimeofday(struct timeval* tp, void* tzp) { struct timeb tb; ftime(&tb); tp->tv_sec = tb.time; tp->tv_usec = tb.millitm * 1000; /* 0 indicates that the call succeeded. */ return 0; } when i build the workspace i g... 1 Dec 2008 06:22
error LNK2001: unresolved external symbol Hi, I got LNK 2001: unresolved external symbol problem. Deleting intermediate files and output files for project 'ProxyReader - Win32 Debug'. --------------------Configuration: ProxyReader - Win32 Debug-------------------- Compiling resources... Compiling... StdAfx.cpp Compiling... ChildView.cpp DoConn... 30 Nov 2008 19:04
App without visible window / running background Hello, I have an application that will run in background and won't show a window. I have a dialog, which I use to perform the actions my app needs to do. I've tested my app with the wizard generated InitInstance() method: BOOL CMyApp::InitInstance() { CWinAppEx::InitInstance(); SetRegistryKey(_T(... 28 Nov 2008 15:53
DrawText() and text orientation Hi, I have owner draw fixed CMyTabCtrl derived from CTabCtrl. It has overriden DrawItem() and I tried to draw text on tabs with help of DrawText() or TextOut(). On my control I need vertical tabs but horizontal text on tabs. When I set vertical tabs in resource editor then in run-time all texts has vertical or... 27 Nov 2008 16:55
New Version of MFC for VC2005? It appears that SQL Server 2008 installs a new side-by-side mfc version: 8.0.50727.1833 The one included with SP1 was 8.0.50727.767 Trouble is my application now crashes when that one is loaded with a Unicode release build. How can I set up a manifest that insists on loading the one I distributed with my... 12 Nov 2008 15:17
ShowWindow() access violation I get an access violation when line 332 in winocc.cpp: return ::ShowWindow(m_hWnd, nCmdShow); is executed. This happens the fourth time this function is called. When this happens, m_hWnd is a valid handle, and mCmdShow is 1. This problem occurs only on one Vista machine but not another. I use Visual Stud... 10 Nov 2008 17:42
Using a CFormView within a CDockablePane Hi all, I'm having trouble getting my head around how to use a CFormView within a CDockablePane. The closest thing I've seen is the CDialogPane, but that clips the controls on the dialog. I need the scolling that you get with a CFormView. TIA Tom ... 10 Nov 2008 13:02 |