Search:
Forum
Windows Programming
GUI resource to support User selection o
GUI resource to support User selection of fon size
Oct 13, 2023 at 3:11am UTC
rwhoech
(11)
How does one incorporate a GUI interface in a W32 app to select font and font size similar to that supported by MS Word?
Oct 13, 2023 at 8:25am UTC
kigar64551
(815)
https://learn.microsoft.com/en-us/windows/win32/dlgbox/font-dialog-box
You create and display a Font dialog box by initializing a
CHOOSEFONT
structure and passing the structure to the
ChooseFont
function.
That is if you use "native" Win32 GUI.
If you use a GUI framework, such as
Qt
or
wxWidgets
, it should provide a
portable
solution, e.g.:
https://doc.qt.io/qt-6/qfontdialog.html#details
https://docs.wxwidgets.org/3.0/classwx_font_dialog.html
Last edited on
Oct 13, 2023 at 8:30am UTC
Oct 13, 2023 at 8:44pm UTC
rwhoech
(11)
Thanks for your info, which I am currently digesting.
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs