From: TMC on 22 Mar 2010 02:11 Hey All, Is there a way to detect / trap for an event / have a callback when a user changes their display language setting or locale settings in general? Thanks
From: Helmut Meukel on 22 Mar 2010 15:30 "TMC" <getmyemails(a)yahoo.com> schrieb im Newsbeitrag news:eIv5BaYyKHA.404(a)TK2MSFTNGP02.phx.gbl... > Hey All, > > Is there a way to detect / trap for an event / have a callback when a user > changes their display language setting or locale settings in general? > > Thanks > > Have a look at GetUserDefaultLCID. You'll find lots of stuff about locale settings if you search for GetUserDefaultLCID. Helmut.
From: Karl E. Peterson on 22 Mar 2010 16:13 TMC wrote: > Is there a way to detect / trap for an event / have a callback when a user > changes their display language setting or locale settings in general? You'll be able to get a WM_SETTINGCHANGE with lParam pointing at the string "intl", I believe. See http://vb.mvps.org/samples/SysInfo/ for an example. -- ..NET: It's About Trust! http://vfred.mvps.org
From: MikeD on 22 Mar 2010 21:49 "TMC" <getmyemails(a)yahoo.com> wrote in message news:eIv5BaYyKHA.404(a)TK2MSFTNGP02.phx.gbl... > Hey All, > > Is there a way to detect / trap for an event / have a callback when a user > changes their display language setting or locale settings in general? > If you don't want to get into subclassing to handle the message yourself, I *think* the SysInfo control provides an event for this. Can't swear to it because I've never used that control. <g> -- Mike
From: TMC on 22 Mar 2010 23:28 Thanks guys. I will have a look. "Karl E. Peterson" <karl(a)exmvps.org> wrote in message news:eEmAdwfyKHA.3884(a)TK2MSFTNGP06.phx.gbl... > TMC wrote: >> Is there a way to detect / trap for an event / have a callback when a >> user changes their display language setting or locale settings in >> general? > > You'll be able to get a WM_SETTINGCHANGE with lParam pointing at the > string "intl", I believe. See http://vb.mvps.org/samples/SysInfo/ for an > example. > > -- > .NET: It's About Trust! > http://vfred.mvps.org > >
|
Pages: 1 Prev: Passing a parameter Next: Problem accessing a MySQL database from VB6 program |