|
Unicode conversion I just converted my Font Explorer to work in Unicode. This was a program originally written in 1996 for the Win32 Programming book. I wrote it "Unicode-aware", or so I thought. When I converted it, I had to deal with the fact that I had *not* successfully created a Unicode-aware program. Here's some data I gat... 16 May 2008 01:20
Found: a really odd bug Somehow, I wrote the following piece of trash, and it slipped through unnoticed: .... else if *str += _T(">"); It should have been: .... else if (some_bool) *str += _T(">"); That's just about the weirdest piece of bad code I've ever written. ... 12 May 2008 18:43
Function is not recognizing hi I have two header files like "Headerfile1.h" "Headerfile2.h" , In "Headerfile2.h" i have declared "Headerfile1.h" So in my application i have declared "Headerfile2.h" and i am using some functions of "Headerfile1.h" in my application, and i could able to compile successfully but at runtime linker unable ... 12 May 2008 14:47
decoding character encoding confusion Hi, I'm, a little confused about how to convert text encodings in a file downloaded from the Internet to memory (via InternetReadFile()). I download into a char buffer. The text is UTF-8 encoded (I think). I then parse the file into appropriate text fields Now, for example, when I display text from the ... 14 May 2008 03:15
Anyone know how to force screen update after each GDI call -for debugging? Simon wrote: When I'm debugging GDI calls it would be very helpful if every time my code called a GDI function (e.g. Polyline) I could see immediately what effect it has on the screen. Normally what happens is that you step over that line of code and see nothing on the screen. In fact normally it isn't... 12 May 2008 08:11
linking with mfc42.lib and mfc90.lib? Hallo! We have an old application we are porting using Visual Studio 2008. Originally developed with VC6.0. It's a mfc-applikation and thus referers to mfc90.lib. Together with the old application we've linked mfc42.lib. Additionally we have linked in a library we don't have the source to. This lib refer... 12 May 2008 12:26
Anyone know how to force screen update after each GDI call - for debugging? When I'm debugging GDI calls it would be very helpful if every time my code called a GDI function (e.g. Polyline) I could see immediately what effect it has on the screen. Normally what happens is that you step over that line of code and see nothing on the screen. In fact normally it isn't until I have execut... 13 May 2008 08:16
Can Some one help me to Add a ScroolBar to the CCtrlListWnd hello every one. I write a Ctrl,named CCtrlListWnd,which is derived from CWnd. and i want to know how to add a ScroolBar to the CCtrlListWnd. Can some one help me.Thanks for your attention and suggestion. The code is below: /***********************************************************************************... 13 May 2008 11:20
How to change the CEdit Text Alignment? I don't create the CEdit dynamically on run time, but I create it from the design form. Is there any option or property which I can set like m_edt.LimitText(n) ? Thank you very much. ... 12 May 2008 02:32
UML Relationship between Doc class and View class? Hi All, When creating a UML class diagram of my MDI application in Visio, what kind of relationship I should show between my view class and the doc class? Is it an aggregation with the diamond near the view class, or is it just an association with the arrow towards the view class? Thanks in advance, Jessy ... 12 May 2008 06:26 |