Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LogonUser and CreateProcessAsUser Pin
David Crow17-Feb-04 6:20
David Crow17-Feb-04 6:20 
GeneralRe: LogonUser and CreateProcessAsUser Pin
niklo18-Feb-04 21:05
niklo18-Feb-04 21:05 
GeneralRe: LogonUser and CreateProcessAsUser Pin
Steve S17-Feb-04 6:23
Steve S17-Feb-04 6:23 
GeneralRe: LogonUser and CreateProcessAsUser Pin
niklo18-Feb-04 21:08
niklo18-Feb-04 21:08 
QuestionSTDMETHODIMP? Pin
satcat17-Feb-04 4:21
satcat17-Feb-04 4:21 
AnswerRe: STDMETHODIMP? Pin
Robert A. T. Káldy17-Feb-04 5:58
Robert A. T. Káldy17-Feb-04 5:58 
GeneralRe: STDMETHODIMP? Pin
satcat17-Feb-04 6:59
satcat17-Feb-04 6:59 
GeneralGetting exact position of Arabic text Pin
Member 88417917-Feb-04 4:20
Member 88417917-Feb-04 4:20 
Hi,

I am trying to get the exact character widths (and thus position/placement) of Arabic text which I am writing to the screen.

I have used GetCharacterPlacementW. This returns the Caret position, corresponding to the cursor position between the characters.

For English text, this correctly gives the exact position.

For Arabic, this makes a good attempt at getting the position. However, in some parts of the text, the character positions become quite inaccurate.

Screen images can be seen at:
http://www.codeguru.com/forum/showthread.php?s=&threadid=283418

Apart from the GDI32.dll GetCharacterPlacementW, is there another more accurate technology?

Does anyone have any other suggestions?

Many thanks.


GeneralTrouble linking DX9SDK: PlayWnd (Direct Show) sample Pin
Admiral Quality17-Feb-04 4:18
Admiral Quality17-Feb-04 4:18 
Questionhow to messure the memory consumed by a function Pin
Hesham Amin17-Feb-04 3:25
Hesham Amin17-Feb-04 3:25 
AnswerRe: how to messure the memory consumed by a function Pin
David Crow17-Feb-04 3:55
David Crow17-Feb-04 3:55 
Questionneed sql query? Pin
murali_utr17-Feb-04 3:10
murali_utr17-Feb-04 3:10 
AnswerRe: need sql query? Pin
David Crow17-Feb-04 3:16
David Crow17-Feb-04 3:16 
GeneralRe: need sql query? Pin
Prakash Nadar17-Feb-04 6:08
Prakash Nadar17-Feb-04 6:08 
GeneralRe: need sql query? Pin
David Crow17-Feb-04 7:16
David Crow17-Feb-04 7:16 
GeneralRe: need sql query? Pin
Prakash Nadar17-Feb-04 14:38
Prakash Nadar17-Feb-04 14:38 
AnswerRe: need sql query? Pin
Doug Mitchell17-Feb-04 7:15
Doug Mitchell17-Feb-04 7:15 
GeneralParallel port in C++ Pin
abc87617-Feb-04 3:02
abc87617-Feb-04 3:02 
GeneralRe: Parallel port in C++ Pin
Roger Wright17-Feb-04 5:20
professionalRoger Wright17-Feb-04 5:20 
GeneralRe: Parallel port in C++ Pin
John M. Drescher17-Feb-04 7:17
John M. Drescher17-Feb-04 7:17 
GeneralRe: Parallel port in C++ Pin
Roger Wright17-Feb-04 8:46
professionalRoger Wright17-Feb-04 8:46 
GeneralRe: Parallel port in C++ Pin
jhorstkamp17-Feb-04 6:35
jhorstkamp17-Feb-04 6:35 
GeneralRe: Parallel port in C++ Pin
John M. Drescher17-Feb-04 7:08
John M. Drescher17-Feb-04 7:08 
GeneralRe: Parallel port in C++ Pin
jhorstkamp17-Feb-04 7:58
jhorstkamp17-Feb-04 7:58 
Generalreading without mfc Pin
ns17-Feb-04 2:58
ns17-Feb-04 2:58 

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.