GithubHelp home page GithubHelp logo

please font settings about winsafe HOT 7 CLOSED

Asm322 avatar Asm322 commented on June 2, 2024
please font settings

from winsafe.

Comments (7)

rodrigocfd avatar rodrigocfd commented on June 2, 2024

Could you explain a bit further what you're trying to accomplish?

from winsafe.

Asm322 avatar Asm322 commented on June 2, 2024

from winsafe.

rodrigocfd avatar rodrigocfd commented on June 2, 2024

How would you do it in C++?

from winsafe.

Asm322 avatar Asm322 commented on June 2, 2024

Thanks for the reply. I just started in programming. I started with Masm32, minimum C. I liked Rust and its concepts, after Masm32, memory management and errors with it are clear, your examples are clear to me. Sorry for the stupid questions. I understand the description on the Microsoft website. How to apply this in rust is not always clear. If you would make an example with the text, I would be very grateful to you.

from winsafe.

rodrigocfd avatar rodrigocfd commented on June 2, 2024

Changing the font is done by creating a font, then sending a WM_SETFONT message.

WinSafe is just a thin layer over the Win32 API. If you learn how to do this in C (or C++), you can simply translate the code. Google around and you'll find plenty of examples.

from winsafe.

Asm322 avatar Asm322 commented on June 2, 2024

Hello. I'll ask one question, thank you. There are no problems with gui::Edit) But with wm_get_font, wm_set_font I can't figure out how to transfer and receive parameters I don't understand)))

from winsafe.

rodrigocfd avatar rodrigocfd commented on June 2, 2024

Please see here:

from winsafe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.