Page 1 of 1

Rolling up window event

Posted: Sat Mar 15, 2014 2:37 am
by catalinvasile
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?

Re: Rolling up window event

Posted: Sat Mar 15, 2014 7:10 am
by 0CodErr

Re: Rolling up window event

Posted: Sat Mar 15, 2014 11:27 am
by catalinvasile
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.

Re: Rolling up window event

Posted: Sat Mar 15, 2014 11:58 am
by 0CodErr
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

Re: Rolling up window event

Posted: Sat Mar 15, 2014 12:06 pm
by catalinvasile
I'm aware of that description file and I went through it.
I was thinking if there was an undocumented behavior or such.

Re: Rolling up window event

Posted: Sun Mar 16, 2014 1:47 am
by yogev_ezra
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.