Click here to Skip to main content
15,400,433 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About embedding a CSplitterWnd in a CView Pin
jhwurmbach23-Feb-04 21:53
Memberjhwurmbach23-Feb-04 21:53 
GeneralProject Dependancies Pin
#realJSOP23-Feb-04 8:59
mva#realJSOP23-Feb-04 8:59 
GeneralRe: Project Dependancies Pin
LunaticFringe23-Feb-04 13:19
MemberLunaticFringe23-Feb-04 13:19 
GeneralRe: Project Dependancies Pin
Prakash Nadar23-Feb-04 13:55
MemberPrakash Nadar23-Feb-04 13:55 
Generalmakefile problem Pin
ns23-Feb-04 8:56
Memberns23-Feb-04 8:56 
GeneralRe: makefile problem Pin
Joaquín M López Muñoz23-Feb-04 10:10
MemberJoaquín M López Muñoz23-Feb-04 10:10 
GeneralRe: makefile problem Pin
nss23-Feb-04 11:52
Membernss23-Feb-04 11:52 
GeneralPassing Typedef name to as function Parameter Pin
rags23-Feb-04 8:45
Memberrags23-Feb-04 8:45 
Can some one tell me, How do I pass Typdef name which is stored in string variable to be passed to as a functions parameter.
For eg: LOOKUP_CODE (which is a typedef for struct)
LOOKUP_CODE MYCODE[]=
{
{0, _T("1234")},
{1, _T{"3455")},
{NULL ,NULL}
}
I use to call my function, which takes the first parameter of LOOKUP_CODE
MyFunction(MYCODE,....) This works like charm.
Now I'm storing that name MYCODE into string variable strCode
LOOKUP_DEF Class = reinterpret_cast<lookup_def &="">(strCode);
and calling the function like this:
MyFunction(&Class,...) but it does not work correctly. Any input from any one is greatly appreciated. Confused | :confused:
GeneralRe: Passing Typedef name to as function Parameter Pin
Joaquín M López Muñoz23-Feb-04 10:03
MemberJoaquín M López Muñoz23-Feb-04 10:03 
GeneralRe: Passing Typedef name to as function Parameter Pin
rags23-Feb-04 10:14
Memberrags23-Feb-04 10:14 
GeneralRe: Passing Typedef name to as function Parameter Pin
Robert A. T. Káldy23-Feb-04 11:04
MemberRobert A. T. Káldy23-Feb-04 11:04 
GeneralRe: Passing Typedef name to as function Parameter Pin
Robert A. T. Káldy23-Feb-04 11:11
MemberRobert A. T. Káldy23-Feb-04 11:11 
GeneralRe: Passing Typedef name to as function Parameter Pin
rags24-Feb-04 3:34
Memberrags24-Feb-04 3:34 
Generalctreectrl with mfc management. Pin
pnpfriend23-Feb-04 8:21
Memberpnpfriend23-Feb-04 8:21 
QuestionHow does one dynamically update display styles of controls on a Dialog Pin
Franz Klein23-Feb-04 8:01
MemberFranz Klein23-Feb-04 8:01 
AnswerRe: How does one dynamically update display styles of controls on a Dialog Pin
Maximilien23-Feb-04 8:31
MemberMaximilien23-Feb-04 8:31 
GeneralRight or Left click on a button Pin
jlechem23-Feb-04 5:12
Memberjlechem23-Feb-04 5:12 
GeneralRe: Right or Left click on a button Pin
Prakash Nadar23-Feb-04 6:59
MemberPrakash Nadar23-Feb-04 6:59 
Questionrandom number? Pin
murali_utr23-Feb-04 4:52
Membermurali_utr23-Feb-04 4:52 
AnswerRe: random number? Pin
murali_utr23-Feb-04 5:42
Membermurali_utr23-Feb-04 5:42 
GeneralRe: random number? Pin
Maximilien23-Feb-04 5:47
MemberMaximilien23-Feb-04 5:47 
AnswerRe: random number? Pin
Prakash Nadar23-Feb-04 5:59
MemberPrakash Nadar23-Feb-04 5:59 
GeneralRe: random number? Pin
David Crow23-Feb-04 7:24
MemberDavid Crow23-Feb-04 7:24 
GeneralRe: random number? Pin
Prakash Nadar23-Feb-04 13:30
MemberPrakash Nadar23-Feb-04 13:30 
GeneralCallback function as a class member function Pin
Abhi Lahare23-Feb-04 3:32
MemberAbhi Lahare23-Feb-04 3:32 

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.