Customising CtreeCtrl Hello Guys, I am working on a simple program where I want a CTreeCtrl with lines, checkboxes, imagelists and background color for each item. I am not sure how to add background color for the items so that each item can have custom back color. Suggesstions are welcome. Cheers ... 6 Jan 2010 09:52
Visual c++ 2008 could not find Include File! Thank you for your attention! I am using Visual C++ 2008 to compile a project, But could not find Include File! include file directory does not have. Files list: BaseTsd.h windows.h Why are this? ---Chinese Text (Unicode)--- лл��Ĺ�ע�� ��ʹ��VISUAL C++ 2008 ����һ������ ���Dz���Ѱ�ҵ����ļ��� ���ļ�Ŀ¼û�С� �ļ��... 1 Jan 2010 00:10
Visual c++ 2008 could not find Include File! Thank you for your attention! I am using Visual C++ 2008 to compile a project, But could not find Include File! include file directory does not have. Files list: BaseTsd.h windows.h Why are this? ---Chinese Text (Unicode)--- лл��Ĺ�ע�� ��ʹ��VISUAL C++ 2008 ����һ������ ���Dz���Ѱ�ҵ����ļ��� ���ļ�Ŀ¼û�С� �ļ��... 11 Jan 2010 06:30
How to render html (text-only) into an offscreen buffer? Hi, In my app I need to retrieve html text from db and render it into an offscreen buffer. What choices do we have in MFC? I vaguely remember that IE has an interface (view object, or something like it) that could be used to grab a rendered page into a bitmap. I'm not sure if that interface would work wit... 28 Dec 2009 14:06
wm_touch and wm_gesture Message Dear all: I'm a junior engineer in SW. And now, i try to develop a software to simulate a touch screen's operation without any touch hardware. In win 7, these two message, wm_touch and wm_gesture, can't be triggled directly by SendMessage and PostMessage. So In win7's touch architecture, these messages ca... 6 Jan 2010 09:52
Owner draw main windows, will left some drawing on the background of the window, I want the reason and how to prevent this happen? I used HDC hWindowDC = GetWindowDC(); Draw the non client area on hWindowDC in class of WTL: class CMainFrame : public CFrameWindowImpl<CMainFrame>, public CUpdateUI<CMainFrame>, public CMessageFilter, public CIdleHandler ---------------------------------------------------------------------------------... 6 Jan 2010 09:52
GDI/GDI+ stop drawing after a while on Windows 7 I have an app that I developed some time ago for W2K. The app draws text and graphics onto a CView derived window using GDI+. It also hosts shockwave flash player that occasionally plays a clip in the same window. The app could work 24x7 on W2K and XP. I'm now testing the app on Windows 7 Home Premium. I'm ... 2 Feb 2010 17:36
More Printing questions..... Merry Christmas Hello Everyone. I have been struggling with this item for some time. For a while I was content to ignore it, but it has finally made it to the top of my list. I have an application where the User may choose reporting fonts. Three fonts. One for the header, one for the body, and one for the footer of the various... 24 Dec 2009 08:35
Missing symbol _iob (and others) Hi, I've seen this occurs with third party .libs built using VC7.1, when trying to build on VC8/VC9. The third-party supplier might be able to supplier a newer .lib, built with a later version of VC. However, this is not always the case, and in any event, it will mean waiting. If you're running into the proble... 20 Dec 2009 02:49
Process handle leakage Hi All, My program is written by MFC with many thread created for processing. And i found that the Handle count in the Task manager of my program will increase after a long run. And i have tried to use WinDbg to check what kind of handle is increasing, and it was Process, but in my source code, i cannot find a... 20 Dec 2009 21:17 |