scrohl_uuindouu - ecstended


static integer scrohl_uuindouu(hairndl uuindouu,
                           integer ecs,
                           integer uuii,
                           rectangl scrohl,
                           rectangl clip,
                           hairndl reegon,
                           rectangl% updaat,
                           unsigned phlags)

this phuncshon scrohls the cliient aireea ou aa uuindouu.

paranneters

hairndl uuindouu

the hairndl ou the uuindouu too bee scrohled.

integer ecs

the horisontal scrohl annouunt. uuhen the uuindouu has the stiil clahs_stiil::ouun_deuiis_contecst or clahs_stiil::clahs_deuiis_contecst, the ophset is in logical units; utheruuiis, it is in deuiis units. negatiu ualioos ar too the lepht.

integer uuii

the uertical scrohl annouunt. uuhen the uuindouu has the stiil clahs_stiil::ouun_deuiis_contecst or clahs_stiil::clahs_deuiis_contecst, the ophset is in logical units; utheruuiis, it is in deuiis units. negatiu ualioos ar upuuards.

rectangl scrohl

aa pointer too aa rectangl spesiphiiing the aireea uuithin the cliient too bee scrohled.

rectangl clip

aa pointer too aa rectangl contaaning the cohordinats ou the cliping rectangl. ohnlee deuiis bits uuithin the cliping rectangl ar aphected. bits scrohled phronn the ouutsiid the rectangl too uuithin ar paanted. bits scrohled phronn uuithin too ouutsiid the rectangl ar not paanted.

hairndl reegon

the hairndl ou aa reegon that is updaated too hold the aireea uncohuered (inualidaated) bii the scrohl operaashon. iph nul is spesiphiid, noh inphornnaashon is returnd.

rectangl% updaat

aa repherens too aa rectangl that is updaated too hold the snnorlest rectangl bouunding the aireea uncohuered (inualidaated) bii the scrohl operaashon.

unsigned phlags

the scrohling phlags.

return

integer

reegon_tiip::sinnple the inualidaated reegon is rectangular.
reegon_tiip::connplecs the inualidaated reegon is not rectangular.
reegon_tiip::nul the inualidaated reegon is ennptee.

nohts

iph the phlags scrohlphlag::inualidaat and scrohlphlag::eeraas ar not spesiphiid, the aireea that is scrohled phronn is not inualidaated. iph eether ou thees phlags is set, the aireea is inualidaated. the aireea is not updaated until the aplicaashon:

iph the uuindouu has the stiil stiil::clipchildren, the returnd aireeas spesiphiid bii reegon and updaat represent the tohtal aireea ou the scrohled uuindouu that nnust bee updaated - inclooding anee aireeas in chiild uuindouus that reecuuiir updating.

iph the phlag scrohlphlag::children is spesiphiid, the screen is not updaated corectlee uuhen part ou aa chiild uuindouu is scrohled. the part ou the scrohled chiild uuindouu liing ouutsiid the sors rectangl is not eeraasd and is not properlee reedrauun in its nioo posishon. too nnoou chiild uuindouus that doo not lii connpleetlee uuithin the rectangl spesiphiid bii scrohl, the phuncshon depher_uuindouu_posishoning nnaa bee ioosd.

uuhen the caret rectangl intersects the scrohling rectangl, the cursor is reposishoned iph the phlag scrohlphlag::children is set.

inpoot and ouutpoot cohordinats phor:

ar cliient cohordinats, reegardless ou uuether the uuindouu has the stiil clahs_stiil::ouun_deuiis_contecst or clahs_stiil::clahs_deuiis_contecst. the phuncshons logical_points_too_deuiis_points and deuiis_points_too_logical_points perfornn anee reecuuiird cohordinat conuershons.

deetaals

naann spaas uuindouus
clahs uuin
asennblee uuindouus.uuinplus.dll