Click here to Skip to main content
15,922,155 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Creating a directory with full access permissions Pin
Rane12-Sep-08 5:58
Rane12-Sep-08 5:58 
GeneralRe: Creating a directory with full access permissions Pin
V K 212-Sep-08 20:45
V K 212-Sep-08 20:45 
QuestionCMap problem Pin
Dhiraj kumar Saini12-Sep-08 2:22
Dhiraj kumar Saini12-Sep-08 2:22 
QuestionRe: CMap problem Pin
David Crow12-Sep-08 2:27
David Crow12-Sep-08 2:27 
AnswerRe: CMap problem Pin
Dhiraj kumar Saini12-Sep-08 2:29
Dhiraj kumar Saini12-Sep-08 2:29 
GeneralRe: CMap problem Pin
led mike12-Sep-08 4:29
led mike12-Sep-08 4:29 
GeneralYou're a bad guy Pin
CPallini12-Sep-08 5:21
mveCPallini12-Sep-08 5:21 
GeneralRe: CMap problem Pin
Mark Salsbery12-Sep-08 5:34
Mark Salsbery12-Sep-08 5:34 
GeneralRe: CMap problem Pin
CPallini12-Sep-08 5:41
mveCPallini12-Sep-08 5:41 
GeneralRe: CMap problem Pin
Mark Salsbery12-Sep-08 5:49
Mark Salsbery12-Sep-08 5:49 
GeneralRe: CMap problem Pin
CPallini12-Sep-08 6:34
mveCPallini12-Sep-08 6:34 
GeneralRe: CMap problem Pin
Mark Salsbery12-Sep-08 7:47
Mark Salsbery12-Sep-08 7:47 
AnswerRe: CMap problem Pin
Cedric Moonen12-Sep-08 2:29
Cedric Moonen12-Sep-08 2:29 
GeneralRe: CMap problem Pin
Michael Schubert12-Sep-08 2:32
Michael Schubert12-Sep-08 2:32 
AnswerRe: CMap problem Pin
toxcct12-Sep-08 3:14
toxcct12-Sep-08 3:14 
QuestionShare data among all loaded instances of a certain DLL Pin
Joseph Marzbani12-Sep-08 2:06
Joseph Marzbani12-Sep-08 2:06 
AnswerRe: Share data among all loaded instances of a certain DLL Pin
CPallini12-Sep-08 2:10
mveCPallini12-Sep-08 2:10 
GeneralRe: Share data among all loaded instances of a certain DLL Pin
Joseph Marzbani12-Sep-08 2:19
Joseph Marzbani12-Sep-08 2:19 
GeneralRe: Share data among all loaded instances of a certain DLL Pin
CPallini12-Sep-08 3:28
mveCPallini12-Sep-08 3:28 
QuestionConvert bitmap edge in line Pin
key_b112-Sep-08 0:29
key_b112-Sep-08 0:29 
AnswerRe: Convert bitmap edge in line Pin
SandipG 12-Sep-08 1:12
SandipG 12-Sep-08 1:12 
GeneralRe: Convert bitmap edge in line Pin
key_b114-Sep-08 22:29
key_b114-Sep-08 22:29 
QuestionRe: Convert bitmap edge in line Pin
CPallini12-Sep-08 2:13
mveCPallini12-Sep-08 2:13 
AnswerRe: Convert bitmap edge in line Pin
key_b114-Sep-08 23:27
key_b114-Sep-08 23:27 
QuestionDetermining the 'real' length of Unicode strings Pin
Rob Caldecott11-Sep-08 22:45
Rob Caldecott11-Sep-08 22:45 
I have an issue when computing how long a Unicode string is when it is actually displayed on screen. For example, you might have a 30 character Thai string, but when it is actually displayed, some pairs of characters result in a single character on-screen, so the result might only 'look' like 20 characters. What seems to happen is that two characters sometimes result in a character with a 'mark' above it (like a European accent character).

Because of these potential pairs, logic I have that currently uses _tcslen goes out of the window. I tried experimenting with the GetCharacterPlacement API call but didn't get very far. The strings all display correctly, but I have to know the 'display length' when forcing a fixed number of characters-per-inch (don't ask!).

Is there a way to find this out?

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.