   371

. 5.21





:


  () 
 
 
 ()

  MediaPlayer   OnClick  OnNotify. 
         - 
 

enum TMPBtnType (btPlay, btPause, btStop, btNext,

btprev, btStep, btBack, btRecord, btEject);

void _fastcall Click(TObject *Sender, TMPBtnType Button,
bool &DoDefault)

 Button   .  DoDefault, -
  ,   (  true  ) 
    ,   .

 OnNotify     , 
 - Notify    true.    -
 -   Wait.   Wait 
false,         
,     .  ,  Notify
 true  Wait  false,      -
       .

 Notify  Wait      . 
         OnClick
 OnNotify.

      Mode,  -
   .     
 ,       -
  .

, ,       
MediaPlayer.       .      
     .     -
    MediaPlayer, MainMenu  OpenDialog.   -
 OpenDialog , , :