Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - ShortDoorNote ► ««« FAQ 03 / 08 »»»

Errors, occasional incorrect calculation and centering of the text (DT_CENTER)!


The occasional error with incorrect calculation and centering of the text is in ShortDoorNote!




The old solution was about DrawText(dc,buf,lstrlen(buf),&rcC,DT_CENTER|DT_CALCRECT) This is not sufficient for longer texts (more lines) to place the text perfectly! Unfortunately I had the correct calculation of the square done by the MS Internet. The new own solution is written so that it works with multi-line, especially long texts on Windows 11, 10, ... or MS Server OS!.


1. Incorrect rectangle calculation / font size DT_CALCRECT solution! (v1.01)
(... see Image-1 Point 1)
2. Correct rectangle calculation / font size own C ++ solution!
(v1.02)
(... see Image-1 Point 2)

Please! ►► Test the ShortDoorNote and kick me for BUGs or so! 




(Image-1) Errors, occasional wrong calculation and centering of the text!
Errors, occasional wrong calculation and centering of the text!

-
▲ Back to the top ▲




FAQ 3: Updated on: 25 July 2021 17:39 Windows


► ► ► ► ... more information about the software ShortDoorNote     

ShortDoorNote

Save your favorite notes and use them again and again!


It is practical if you save your favorite notes and can use them again and again on Windows 11, 10, or MS Server OS and Print   1. Please  start ShortDoorNote
ShortDoorNote

Where can I find smileys and Unicode characters for the short door notes?


It is easy to find the smileys and Unicode characters for the notes in ShortDoorNotes on Windows 11, 10, or MS Server OS I think that everyone knows
ShortDoorNote

How can I align the Door Note, for example left-justified?


It is not easy to align the information, for example left-justified, since the program was designed for simple information not only for Windows 11, 10,
ShortDoorNote

Can I save the easy-to-read door notes as PDF?


Its easy to save the legible door notes as PDF, you can do it directly or indirectly  on Windows 11, 10, or MS Server OS Everyone knows the ► PDF
ShortDoorNote

How can I remove the Quick Notes app from my Microsoft Windows?


It is easy to remove the short notes APP from a Microsoft Windows 11, 10, OS, whether server or desktop, both no problem Removal is provided and everyone
ShortDoorNote

Tweeter or do a FaceBook post on the pinboard!


This function is quite practical so that the message does not go down when tweeting or a FaceBook post on the digital door / pin board   1. Please start

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. I wanted to put a note on the fridge, the centering is not shown centered, do I have to set an appropriate option?
  2. I wanted to change my Tyr note, i.e. horizontal alignment of text on a A4 sheet of paper, with the alignment I wanted to change the appearance of the door Note the alignment should be centered, but the margins were calculated correctly, what did I do wrong?
  3. The position of the text door note is not exactly accurate, wonder if the section in the text is an error or have I forgotten something, is there a cover page like MS Word?
  4. Centering the text horizontally between the margins doesn't fit the door completely. Note doesn't look exactly as it should. Centering the text vertically between the top and bottom is not exactly in the middle?
Keywords: short, door, note, incorrect, calculation, centering, text, center, drawtext, lstrlen, calcrect, wndows, 11, 10, Questions, Answers, Software




  

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks
  + Security

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + IsMyHdOK
  + AutoPowerOptionsOK
  + OneLoupe
  + TraceRouteOK
  + GetWindowText
  + AutoHideMouseCursor
  + Desktop.Calendar.Tray.OK
  + OK.Its.Raining.Men
  + Run-Command
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Settings | Windows 10 | gc24b | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2025 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu


► Differences between laptop and tablet? ◄
► Difference between TensorFlow and PyTorch? ◄
► Difference between OAuth and SAML? ◄
► How do I find the quicktextpaste.ini (create a backup )? ◄


This website does not store personal data. However, third-party providers are used to display ads,
which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF).
The CMP ID is 300 and can be individually customized at the bottom of the page.
more Infos & Privacy Policy

....