09-18-2016, 07:52 AM
Dear Gintaras,
Let me start saying that I am sorry if I am asking things that either I should have known and/or I could have found in help topics or in the forum. I would like that you clarify some issues regarding fonts unless there exists a tutorial I could read :
1. What is the difference between statements :
2. What is exactly variable _hfont and how it may be used. For example if the font is changed in a dialog field, I wonder whether statement
is the only way to restore _hfont ?
3. Is there a way to create a new font, starting with _hfont but with bold characters?
Many thanks in advance - Best regards.
Let me start saying that I am sorry if I am asking things that either I should have known and/or I could have found in help topics or in the forum. I would like that you clarify some issues regarding fonts unless there exists a tutorial I could read :
1. What is the difference between statements :
Quote:fTask.SetFont(id(4 hDlg))where
g.SetDialogFont(hDlg "11")
Quote:CFont+ fTask
and
__Font-
2. What is exactly variable _hfont and how it may be used. For example if the font is changed in a dialog field, I wonder whether statement
Quote:SendMessageW (id(10 hDlg)) WM_SETFONT _hfont 0
is the only way to restore _hfont ?
3. Is there a way to create a new font, starting with _hfont but with bold characters?
Many thanks in advance - Best regards.