Click here to Skip to main content
15,926,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: big endian to little endian Pin
cmk5-Jun-05 12:37
cmk5-Jun-05 12:37 
QuestionHow to use EnumSystemLanguageGroups Pin
Hachaso2-Jun-05 21:27
Hachaso2-Jun-05 21:27 
AnswerRe: How to use EnumSystemLanguageGroups Pin
David Crow3-Jun-05 2:49
David Crow3-Jun-05 2:49 
GeneralRe: How to use EnumSystemLanguageGroups Pin
Hachaso6-Jun-05 21:00
Hachaso6-Jun-05 21:00 
GeneralRe: How to use EnumSystemLanguageGroups Pin
David Crow7-Jun-05 3:01
David Crow7-Jun-05 3:01 
GeneralRe: How to use EnumSystemLanguageGroups Pin
Hachaso7-Jun-05 21:34
Hachaso7-Jun-05 21:34 
GeneralRe: How to use EnumSystemLanguageGroups Pin
David Crow8-Jun-05 2:11
David Crow8-Jun-05 2:11 
GeneralRe: How to use EnumSystemLanguageGroups Pin
Hachaso8-Jun-05 23:55
Hachaso8-Jun-05 23:55 
Hi!

Hope I'm not to much trouble.
I'm kind of new to this so thanks for all the help.


DavidCrow wrote:
Huh? LANGUAGEGROUP_ENUMPROC is a typedef from winnls.h.

I hope I understand this right:

How do I use this typedef?

LANGUAGEGROUP_ENUMPROC EnumProc; (like this ??)

Then declare the callback function:

BOOL CALLBACK EnumProc(
LGRPID LanguageGroup,
LPTSTR lpLanguageGroupString,
LPTSTR lpLanguageGroupNameString,
DWORD dwFlags,
LONG_PTR lParam
)
{
return TRUE;
}

Then send this to EnumSystemLanguageGroups:

EnumSystemLanguageGroups(EnumProc, LGRPID_INSTALLED, 0);

Is this how it is supposed to be used??

I read a remark in the page link you gave me;
This function can carry out any desired task. An application registers an EnumLanguageGroupsProc function by passing its address to the EnumSystemLanguageGroups function.


I'm really new to all this, so please explain in details.

Thanks!
GeneralRe: How to use EnumSystemLanguageGroups Pin
David Crow9-Jun-05 2:05
David Crow9-Jun-05 2:05 
QuestionHow to share a variable between two classes? Pin
fanlovefan2-Jun-05 21:02
fanlovefan2-Jun-05 21:02 
AnswerRe: How to share a variable between two classes? Pin
Cedric Moonen2-Jun-05 21:30
Cedric Moonen2-Jun-05 21:30 
AnswerRe: How to share a variable between two classes? Pin
rammle2-Jun-05 21:30
rammle2-Jun-05 21:30 
AnswerRe: How to share a variable between two classes? Pin
Bob Stanneveld2-Jun-05 22:03
Bob Stanneveld2-Jun-05 22:03 
AnswerRe: How to share a variable between two classes? Pin
nripun2-Jun-05 23:55
nripun2-Jun-05 23:55 
AnswerRe: How to share a variable between two classes? Pin
fanlovefan5-Jun-05 15:14
fanlovefan5-Jun-05 15:14 
Questionencapsulating callbacks? Pin
rammle2-Jun-05 20:51
rammle2-Jun-05 20:51 
AnswerRe: encapsulating callbacks? Pin
Trollslayer2-Jun-05 23:15
mentorTrollslayer2-Jun-05 23:15 
GeneralRe: encapsulating callbacks? Pin
RichardS2-Jun-05 23:34
RichardS2-Jun-05 23:34 
GeneralRe: encapsulating callbacks? Pin
rammle3-Jun-05 0:06
rammle3-Jun-05 0:06 
GeneralRe: encapsulating callbacks? Pin
Trollslayer4-Jun-05 11:11
mentorTrollslayer4-Jun-05 11:11 
GeneralProblem with Property page Pin
anisiva2-Jun-05 16:59
anisiva2-Jun-05 16:59 
GeneralRe: Problem with Property page Pin
Nish Nishant2-Jun-05 18:19
sitebuilderNish Nishant2-Jun-05 18:19 
GeneralRe: Problem with Property page Pin
anisiva2-Jun-05 18:55
anisiva2-Jun-05 18:55 
GeneralRe: Problem with Property page Pin
Nish Nishant2-Jun-05 19:05
sitebuilderNish Nishant2-Jun-05 19:05 
GeneralRe: Problem with Property page Pin
Rahim Rattani2-Jun-05 20:40
Rahim Rattani2-Jun-05 20:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.