1. Clarence Chamorro
  2. PowerBuilder
  3. Tuesday, 12 July 2022 14:19 PM UTC

Hi...

I have a silly question. Is it possible to have round corners in a window?

 

Something similar like if you turn on the TitleBar property in a DW. The DW corners instead of 90º square they become 90º Round.

 

Regards,

 

Clarence.

Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 12 July 2022 19:31 PM UTC
  2. PowerBuilder
  3. # 1

https://docs.microsoft.com/en-us/windows/apps/desktop/modernize/apply-rounded-corners

Scroll down to the C++ example. It uses the DwmSetWindowAttribute API function.

https://docs.microsoft.com/en-us/windows/win32/api/dwmapi/nf-dwmapi-dwmsetwindowattribute

I gave it a quick try and couldn't get it to work, maybe you or someone else can figure it out.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.