baramin: (Default)
[personal profile] baramin
GetRandomRgn - ребята просто жгут по части названий функций!

http://www.codeproject.com/KB/GDI/cliprgnguide.aspx

This System Region is closely related to the target window that the DC was created for. The System Region is also calculated from a number of different factors. These factors include the following:

* The target window rectangle or region if it was modified by SetWindowRgn.
* The window regions for child windows will be removed from the System Region if the CS_CLIPCHILDREN class style is set.
* The window regions for all of the windows above the target window in the Z-Order will be removed as well.
* If BeginPaint was used to create the DC, then the update region for the window will be intersected with the remaining System Reg

Очень полезна для синтетической прозрачности, т.к. реализована лишь для top-level. Придется складывать с регионами всех потомков, но это нисходящая рекурсия. Если бы мир был прямоугольным - радость моя от сей находки не была б так сильна...

Date: 2009-02-12 04:54 pm (UTC)
From: [identity profile] cynicanonimus.livejournal.com
Я сейчас плотно по работе озаботился вопросом поведения виндовых окон, у которых различные флаги, в различных ситуациях (перерисовка, отрисовка чего-либо в контексте, перемещение окон и пр.) Такое лезет, что волосы дыбом встают.

Date: 2009-02-12 08:02 pm (UTC)
From: [identity profile] baramin.livejournal.com
Таки вы мне это рассказываете?! :)
JDICplus делает heavyweight lightweight-ом, но блин, какой ценой!
Дай Бог потолкую в апреле с этой шайкой тет-а-тет.
Правда на 1-ое и наврать могут... :)

March 2017

S M T W T F S
   1234
567 891011
12131415161718
19202122232425
262728293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 18th, 2025 01:41 am
Powered by Dreamwidth Studios