Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Questions about "fonts" in QM
#1
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 :
Quote:fTask.SetFont(id(4 hDlg))
g.SetDialogFont(hDlg "11")
where
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)