Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

David Pritchard

@David Pritchard
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Profile Edit Has Changed
    D David Pritchard

    Yes, the design is awful. There's no indication that you're being asked for your password. I had to come here and read this before I could work out how to change my email address.

    - Pfft. Coddled kids. In my day, we used to telnet to port 80, then render the page with pencil and paper-- and that's the way we liked it! - Pshaw! Youngster. Your UID barely fits inside 16 bits. In _my_ day we had to whistle the 1's and 0's through an acoustic coupler! Tools that support "all of UTF-8 as long as it starts with ASCII" and tools that cannot handle these three [BOM] bytes at all are not really supporting UTF-8. - Michael Kaplan

    Site Bugs / Suggestions com algorithms security help question

  • Multiline edit word wrap bug in XP-themed apps?
    D David Pritchard

    Am I the only one who's noticed this? Has it only happened to me? It seems that, if you have a multiline edit in an XP-themed app (i.e., an app using ComCtl32 v.6), the word wrap does not take into account accented characters and breaks on them. So, for example, if I write "error de aplicación" in Spanish and the edit happens to want to break around the end of the last word, it might break immediately after the "ó". I would be interested to see if anyone's seen this because I've fixed it by writing a callback to handle word wrap, modified from some ancient code from a Microsoft example. This has, in turn, highlighted another bug, this time in the definition of the first parameter received by EditWordBreakProc. It might be worth turning this into an article, but am I the only one seeing this problem?

    C / C++ / MFC help tutorial question

  • Word wrap in Rich Edit and multiline edit
    D David Pritchard

    I don't know whether you're still out there, but if you are: look up EditWordBreakProc in MSDN. You can define a callback which sets up a different word wrap routine for an edit. I might be posting an article on this since I think there's a bug with the word wrap in XP-themed edits.

    C / C++ / MFC question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups