select_obgect


static hairndl select_obgect(hairndl deuiis,
                             hairndl obgect)

this phuncshon selects aa graphics obgect intoo aa deuiis contecst.

paranneters

hairndl deuiis

the hairndl ou the deuiis contecst intoo uuich the obgect is selected.

hairndl obgect

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

return

hairndl

the hairndl ou the preeueeuslee selected obgect.

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

nohts

uuhen an obgect is reeplaasd, the returnd obgect hairndl nnaa bee laater ioosd too plaas the deuiis contecst in its original staat.

at anee giuen tiinn, aa bitnnap nnaa bee selected intoo ohnlee uuun deuiis 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