Click here to Skip to main content
15,887,822 members
Home / Discussions / C#
   

C#

 
AnswerRe: Mnemonic Pin
Colin Angus Mackay12-Feb-06 20:23
Colin Angus Mackay12-Feb-06 20:23 
AnswerRe: Mnemonic Pin
leppie12-Feb-06 21:02
leppie12-Feb-06 21:02 
GeneralRe: Mnemonic Pin
Talktorajeev12-Feb-06 22:08
Talktorajeev12-Feb-06 22:08 
QuestionPropertyValueChanged Event not raised in Collection Editor of property Grid Pin
Tulika Shrivastava12-Feb-06 20:03
Tulika Shrivastava12-Feb-06 20:03 
AnswerRe: PropertyValueChanged Event not raised in Collection Editor of property Grid Pin
Kodanda Pani12-Feb-06 22:40
Kodanda Pani12-Feb-06 22:40 
QuestionConvert MFC Fonts to c# Fonts Pin
Tulika Shrivastava12-Feb-06 20:01
Tulika Shrivastava12-Feb-06 20:01 
AnswerRe: Convert MFC Fonts to c# Fonts Pin
Colin Angus Mackay12-Feb-06 20:19
Colin Angus Mackay12-Feb-06 20:19 
GeneralRe: Convert MFC Fonts to c# Fonts Pin
Tulika Shrivastava12-Feb-06 21:35
Tulika Shrivastava12-Feb-06 21:35 
hi,
The information about the font is stored in the follwing format:
1. LoByte (Point size for Font)
2. LoByte (Point size for Font)
3. LoByte(LoWord(Height))
4. HiByte(LoWord(Height))
5. LoByte(HiWord(Height))
6. HiByte(HiWord(Height))
7. LoByte(LoWord(Width))
8. HiByte(LoWord(Width))
9. LoByte(HiWord(Width))
10. HiByte(HiWord(Width))
11. LoByte(LoWord(Escapement))
12. HiByte(LoWord(Escapement))
13. LoByte(HiWord(Escapement))
14. HiByte(HiWord(Escapement))
15. LoByte(LoWord(Orientation))
16. HiByte(LoWord(Orientation))
17. LoByte(HiWord(Orientation))
18. HiByte(HiWord(Orientation))
19. LoByte(LoWord(Weight))
20. HiByte(LoWord(Weight))
21. LoByte(HiWord(Weight))
22. HiByte(HiWord(Weight))
23. Italic(byte)
24. Underline(byte)
25. StrikeOut(byte)
26. CharSet(byte)
27. OutPrecision(byte)
28. ClipPrecision(byte)
29. Quality (byte)
30. PitchAndFamily(byte)
31. Length of face name (L)
For Length L following 2 bytes will be repeated
1. LoByte (character of face name)
2. HiByte (character of face name)

Here the first inforation i.e.Point size for Font is the value which we get from the
CFontDialog::GetSize()
function and the rest of the information are the the parameters of the CFont::CreateFont( int nHeight, int nWidth, int nEscapement, int nOrientation, int nWeight, BYTE bItalic, BYTE bUnderline, BYTE cStrikeOut, BYTE nCharSet, BYTE nOutPrecision, BYTE nClipPrecision, BYTE nQuality, BYTE nPitchAndFamily, LPCTSTR lpszFacename ).
I am not able to map all these parameters to their corresponding c# values and thus cant open the application developed using the previous version( MFC ) and see the fonts properly.Any suggetions???

-- modified at 4:33 Monday 13th February, 2006
QuestionDisplaying data from text file to dataset Pin
mitreviper12-Feb-06 19:37
mitreviper12-Feb-06 19:37 
GeneralRe: Displaying data from text file to dataset Pin
VMSSanthosh13-Feb-06 23:28
VMSSanthosh13-Feb-06 23:28 
QuestionIdentify domains in a lan Pin
sendmadhavan12-Feb-06 18:28
sendmadhavan12-Feb-06 18:28 
AnswerRe: Identify domains in a lan Pin
fearless stallion14-Feb-06 2:28
fearless stallion14-Feb-06 2:28 
GeneralRe: Identify domains in a lan Pin
sendmadhavan14-Feb-06 3:14
sendmadhavan14-Feb-06 3:14 
QuestionRun an application in two modes Pin
vinutha kempanna12-Feb-06 17:45
vinutha kempanna12-Feb-06 17:45 
AnswerRe: Run an application in two modes Pin
Colin Angus Mackay12-Feb-06 20:18
Colin Angus Mackay12-Feb-06 20:18 
QuestionAmpersand Char Pin
Paradox2212-Feb-06 14:56
Paradox2212-Feb-06 14:56 
AnswerRe: Ampersand Char Pin
Ravi Bhavnani12-Feb-06 15:41
professionalRavi Bhavnani12-Feb-06 15:41 
AnswerRe: Ampersand Char Pin
nta13712-Feb-06 17:06
nta13712-Feb-06 17:06 
AnswerRe: Ampersand Char Pin
Guffa12-Feb-06 22:24
Guffa12-Feb-06 22:24 
AnswerRe: Ampersand Char Pin
malharone13-Feb-06 3:05
malharone13-Feb-06 3:05 
JokeRe: Ampersand Char Pin
Paradox2213-Feb-06 13:28
Paradox2213-Feb-06 13:28 
QuestionJoystick value Pin
Danny198212-Feb-06 13:15
Danny198212-Feb-06 13:15 
AnswerRe: Joystick value Pin
Ravi Bhavnani12-Feb-06 13:23
professionalRavi Bhavnani12-Feb-06 13:23 
GeneralRe: Joystick value Pin
Danny198212-Feb-06 23:10
Danny198212-Feb-06 23:10 
GeneralRe: Joystick value Pin
Ravi Bhavnani13-Feb-06 1:51
professionalRavi Bhavnani13-Feb-06 1:51 

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.