select_obgect


static hairndl select_obgect(hairndl deeuiis,
                             hairndl obgect)

this phuncshon selects aa graphics obgect intoo aa deeuiis contecst.

paranneters

hairndl deeuiis

the hairndl ou the deeuiis contecst intoo uuhich the obgect is selected.

hairndl obgect

the hairndl ou the obgect too bee selected (see taabl belouu).

reeturn

hairndl

the hairndl ou the preeueeuslee selected obgect.

uuhen the obgect beeing reeplaasd is aa reegon the reeturn ualioo is phronn eenioonneraashon reegon_tiip.

nohts

uuhen an obgect is reeplaasd, the reeturnd obgect hairndl nnaa bee later ioosd too plaas the deeuiis contecst in its original staat.

at anee giuen tiinn, aa bitnnap nnaa bee selected intoo ohnlee uuun deeuiis contecst.

the pholouuing obgect tiips nnaa bee selected:

obgect phronn phuncshons
bitnnap
brush
phont
pen
reegon

uuhen the obgect beeing selected is aa brush or pen, innag culer nnanagennent is perphornned.

deetaals

naann spaas uuindouus::graphics
clahs gdi
asennblee uuindouus.uuinplus.dll