|
From: Joseph M. Newcomer on 15 May 2008 12:11 OnNcHitTest changed from int to INT_PTR for some reason, and yes, this is one of the glitches. That's good to know. I've got about 20 more apps to convert; I'm slowly converting all the Win32 book code to VS200x for some value of x. I just got 2008 installed (this paper is consuming all my cycles right now), and will be moving everything to 2008 before release. The user interface of Font Explorer is really klunky, and I'm changing it to MDI in the rewrite. Much nicer. Modeless dialog boxes instead of modal, for example. One of the weird problems I can't fix (and revert to some really bizarre code--intercepting change notifications in certain controls of CFontDialog) may remain. It also now gives a kerning map, which is also a nice improvement. thanks joe On Thu, 15 May 2008 00:54:08 -0700, "Mihai N." <nmihai_year_2000(a)yahoo.com> wrote: >> The sources for the Font Explorer can be downloaded from my site as part of >> the Win32 book CD download. > >Got it. > >Tried to compile it and got 1 error (VS 2008) >(some notification where MFC changed the handler signature). >Commented the ON_WM_NCHITTEST line out and got a running application. > >The tried to compile it as Unicode and got 20 errors (VS 2008) >After running it thru my tool I had 0 compilation errors. >Fixed the use of sizeof in 2 places, and got a running Unicode application >in 5 minutes. >Not a thorrow job, definitely some more cleaning is required, but not bad. > >Not judging you application here, but my tool. >I am currios to see how usefull it is to cut the big conversion work. >If you ever get to try it, I would be greatfull for any feedback. Joseph M. Newcomer [MVP] email: newcomer(a)flounder.com Web: http://www.flounder.com MVP Tips: http://www.flounder.com/mvp_tips.htm
From: Mihai N. on 16 May 2008 01:09 > Cool. Where can I find this? http://www.mihai-nita.net/article.php?artID=charmapex > Also, I'd be interested in adding the code for this detection to my Font > Explorer, so if > it is available, and you give permission, I'd like to use it > (I'll even add a credit line to you!) I can send you the sources. They are not public now, since I am not sure I like what I did. It all started with some playing with the cmap parsing, and it developed into this :-) I want now to clean it and make it public. Also add glyph detection using Uniscribe, and couple of other things. > because I'd only been programming > in MFC for a year when I wrote it. LOL. Some of the applications I still use (showing Chinese info from the Unihan Unicode file, a locale explorer, and few others) are toys I have writen about 11 years ago, in MFC, without knowing MFC, but knowing "plain Win32", Petzold style :-) They still run on everything from Win 95 to Vista, never recompiled. (and the text display is Unicode, with my own custom control) -- Mihai Nita [Microsoft MVP, Visual C++] http://www.mihai-nita.net ------------------------------------------ Replace _year_ with _ to get the real email
First
|
Prev
|
Pages: 1 2 3 4 Prev: Found: a really odd bug Next: Make button on the dialog currently selected programmatically |