Board.KolibriOS.org

Official KolibriOS board
It is currently Sun Oct 17, 2021 10:44 am

All times are UTC+03:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Rolling up window event
PostPosted: Sat Mar 15, 2014 2:37 am 
Offline
KSoC/GSoC Student

Joined: Thu Mar 13, 2014 8:09 pm
Posts: 6
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?


Top
   
PostPosted: Sat Mar 15, 2014 7:10 am 
Offline

Joined: Sun Oct 30, 2011 6:43 pm
Posts: 1498
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


Top
   
PostPosted: Sat Mar 15, 2014 11:27 am 
Offline
KSoC/GSoC Student

Joined: Thu Mar 13, 2014 8:09 pm
Posts: 6
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.


Top
   
PostPosted: Sat Mar 15, 2014 11:58 am 
Offline

Joined: Sun Oct 30, 2011 6:43 pm
Posts: 1498
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


Top
   
PostPosted: Sat Mar 15, 2014 12:06 pm 
Offline
KSoC/GSoC Student

Joined: Thu Mar 13, 2014 8:09 pm
Posts: 6
I'm aware of that description file and I went through it.
I was thinking if there was an undocumented behavior or such.


Top
   
PostPosted: Sun Mar 16, 2014 1:47 am 
Offline
Public Relations
User avatar

Joined: Mon Jun 07, 2010 12:01 pm
Posts: 1879
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited