This is an easy way to draw some text with a default font. pDC->SelectObject(GetStockObject(DEFAULT_GUI_FONT开发者_运维问答));
I have a WTL application that uses an extended combobox control (the Win32 class ComboBoxEx32) with the CBS_DROPDOWNLIST style.It works well (I ca开发者_开发技巧n have images against each item in the
I am building MFC application where there is CDialog with child control derived from CStatic on it. I want to receive mouse events for CStatic control so I set \"Notify\" for it to true. Now I am abl
Hey. I\'m trying to get this code http://www.codeguru.com/Cpp/W-P/files/inifiles/article.php/c4455/#more to compile under a CLR WinForms app I\'m making.
I need to design a Task Manager, not like windows task manager, but a more generic one. like \"i should take my kid to school\" kind of task.
Using a CDC & CDC::DrawText(Ex), I want to render a string with a sub-string in bold e.g: void renderText(CDC *pDC,CString &str,int boldStart,int boldEnd)
I have a MFC application that displays annotated maps, which can include a large amount of text.While the size and font of the text does not tend to change much, the rotation of the text varies consid
I have a Process Control system. It has a huge 2D workspace where all the logic is laid out. The 2D workspace is a coordinate system.
I just wondering about this.It is said that .NET is better than MFC in a lot of aspects.But when I use my PEID to re开发者_运维问答cursive scan my \'program files\' directory,it turns out there are st
I have a link. I have checked that the link is a valid URL through regular expressions. Now, I want to check if the link is a v开发者_StackOverflow社区alid http link or not. i.e. it should not be a no