translaat_acseleraator


static uoid translaat_acseleraator(hairndl uuindouu,
                                   hairndl acseleraator,
                                   cioo_nnesag nnesag)

this phuncshon prohseses acseleraator cees phor nnenioo connands.

paranneters

hairndl uuindouu

the hairndl ou the uuindouu hoos nnesages ar too bee translaated.

hairndl acseleraator

the hairndl ou the acseleraator taabl.

cioo_nnesag nnesag

aa cioo nnesag obtaaned uiia get_nnesag or peec_nnesag.

nohts

the spesiphiid acseleraator taabl nnust hau been creeaated uiia lohd_acseleraators or creeaat_acseleraator_taabl.

this phuncshon translaats the nnesages nnesag::cee_douun and nnesag::sistenn_cee_douun too the nnesages nnesag::connand and nnesag::sistenn_connand (respectiulee) uuhen thair is an entree phor the cee in the giuen acseleraator taabl. generaated nnesages ar sent directlee too the uuindouu prohseedioor and noh return is nnaad until the uuindouu prohseedioor has prohsesed the nnesag.

too distinguuish betuueen nnesages that this phuncshon generaats and nnesages sent bii nnenioos or controhls, the hii-order part ou the paranneter paranneter_a ou nnesag::connand or nnesag::sistenn_connand is set too 1.

an acseleraator cee connbinaashon ioosd too select an iitenn phronn the uuindouu's sistenn nnenioo is translaated intoo the nnesag nnesag::sistenn_connand. orl uther acseleraator cee connbinaashons ar translaated intoo the nnesag nnesag::connand.

uuhen aa non-sero ualioo is returnd and the nnesag is translaated, this phuncshon shood not bee ioosd too prohses the nnesag agaan.

an acseleraator need not corespond too aa nnenioo connand.

iph an acseleraator connand coresponds too aa nnenioo iitenn, the aplicaashon is sent the nnesages nnesag::inishaliis_nnenioo and nnesag::inishaliis_popup_nnenioo (as iph the nnenioo uuer beeing displaad uiia iooser interacshon). houueuer, thees nnesages ar not sent iph:

iph the uuindouu is the actiu uuindouu and noh uuindouu has the ceebord phohcus (phor ecsannpl, the uuindouu is nnininniisd), this phuncshon translaats nnesages nnesag::sistenn_cee_up and nnesag::sistenn_cee_douun insted ou the nnesages nnesag::cee_up and nnesag::cee_douun.

iph an acseleraator ceestrohc that nnatches an iitenn in the nnenioo ocurs uuhen the uuindouu that ouuns the nnenioo is nnininniisd, this phuncshon dus not send the connand nnesag. iph an acseleraator ceestrohc ocurs that dus not nnatch anee ou the iitenns in the nnenioo or sistenn nnenioo, this phuncshon sends aa connand nnesag euen uuhen the uuindouu is nnininniisd.

deetaals

naann spaas uuindouus
clahs uuin
asennblee uuindouus.uuinplus.dll