Board.KolibriOS.org
https://board.kolibrios.org/

Rolling up window event
https://board.kolibrios.org/viewtopic.php?f=2&t=2620
Page 1 of 1

Author:  catalinvasile [ Sat Mar 15, 2014 2:37 am ]
Post subject:  Rolling up window event

How does a window know it got rolled up?
Does it triggers some internal behavior?
Or do you call an API function which tells you this happened and you must not redraw parts of the window?

Author:  0CodErr [ Sat Mar 15, 2014 7:10 am ]
Post subject:  Re: Rolling up window event

You may do this with SysFn9: http://websvn.kolibrios.org/filedetails ... t#line-368
For example application "DESKTOP": http://websvn.kolibrios.org/filedetails ... m#line-493

Author:  catalinvasile [ Sat Mar 15, 2014 11:27 am ]
Post subject:  Re: Rolling up window event

Ok, sounds good.
Still, in most applications does an API function (such as SysFn 12, subfunction 1) check automatically for this flag and does ?
I'm trying to see if an app has a bug inside it's code, or if it's a bug inside the API.

Author:  0CodErr [ Sat Mar 15, 2014 11:58 am ]
Post subject:  Re: Rolling up window event

catalinvasile wrote:
in most applications does an API function (such as SysFn 12, subfunction 1) check automatically for this flag and does ?
SysFn12.1 just "say" to system that you start redraw window. It does not check flag.
Description of every system function you can find here http://websvn.kolibrios.org/filedetails ... sfuncs.txt

Author:  catalinvasile [ Sat Mar 15, 2014 12:06 pm ]
Post subject:  Re: Rolling up window event

I'm aware of that description file and I went through it.
I was thinking if there was an undocumented behavior or such.

Author:  yogev_ezra [ Sun Mar 16, 2014 1:47 am ]
Post subject:  Re: Rolling up window event

catalinvasile wrote:
I'm aware of that description file and I went through it.
I was thinking if there was an undocumented behavior or such.
0CodErr gave you an example of the solution we expect from you in your qualification task. Please stick to the hints provided by 0CodErr.
I double-checked with our developers right now, and according to them, the API is ok in this case.

Page 1 of 1 All times are UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/