Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Window properties - how are they implemented?

I'm curious if there is anyone around here that has inside information on the implementation details of window properties (SetProp, GetProp, etc.) in Windows.

SetProp @ MSDN
GetProp @ MSDN

For instance, how are storage and lookups done?

like image 657
Johann Gerell Avatar asked Feb 01 '26 12:02

Johann Gerell


1 Answers

Warning: I looked at this a long time ago, so 1) my memory may be wrong, and 2) it may be out of date, even if I am remembering correctly.

When I looked, I'm pretty sure they were implemented as linked-lists, and performance was quite poor if you had more than a few properties for a window.

like image 81
Jerry Coffin Avatar answered Feb 03 '26 06:02

Jerry Coffin