logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

offer_focus - Offers the input focus to a particular object. Allegro game programming library.

Description

       Offers  the  input focus to a particular object. Normally the function sends the MSG_WANTFOCUS message to
       query whether the object is willing to accept the focus. However, passing any  non-zero  value  as  force
       argument instructs the function to authoritatively set the focus to the object.

Name

       offer_focus - Offers the input focus to a particular object. Allegro game programming library.

See Also

find_dialog_focus(3alleg4)

Allegro                                           version 4.4.3                             offer_focus(3alleg4)

Synopsis

#include<allegro.h>intoffer_focus(DIALOG*dialog,intobj,int*focus_obj,intforce);

See Also