Click here to Skip to main content
16,011,428 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About embedding a CSplitterWnd in a CView Pin
jhwurmbach23-Feb-04 21:53
jhwurmbach23-Feb-04 21:53 
GeneralProject Dependancies Pin
#realJSOP23-Feb-04 8:59
professional#realJSOP23-Feb-04 8:59 
GeneralRe: Project Dependancies Pin
LunaticFringe23-Feb-04 13:19
LunaticFringe23-Feb-04 13:19 
GeneralRe: Project Dependancies Pin
Prakash Nadar23-Feb-04 13:55
Prakash Nadar23-Feb-04 13:55 
Generalmakefile problem Pin
ns23-Feb-04 8:56
ns23-Feb-04 8:56 
GeneralRe: makefile problem Pin
Joaquín M López Muñoz23-Feb-04 10:10
Joaquín M López Muñoz23-Feb-04 10:10 
GeneralRe: makefile problem Pin
nss23-Feb-04 11:52
nss23-Feb-04 11:52 
GeneralPassing Typedef name to as function Parameter Pin
rags23-Feb-04 8:45
rags23-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
Joaquín M López Muñoz23-Feb-04 10:03 
GeneralRe: Passing Typedef name to as function Parameter Pin
rags23-Feb-04 10:14
rags23-Feb-04 10:14 
GeneralRe: Passing Typedef name to as function Parameter Pin
Robert A. T. Káldy23-Feb-04 11:04
Robert 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
Robert A. T. Káldy23-Feb-04 11:11 
GeneralRe: Passing Typedef name to as function Parameter Pin
rags24-Feb-04 3:34
rags24-Feb-04 3:34 
Generalctreectrl with mfc management. Pin
pnpfriend23-Feb-04 8:21
pnpfriend23-Feb-04 8:21 
QuestionHow does one dynamically update display styles of controls on a Dialog Pin
Franz Klein23-Feb-04 8:01
Franz Klein23-Feb-04 8:01 
AnswerRe: How does one dynamically update display styles of controls on a Dialog Pin
Maximilien23-Feb-04 8:31
Maximilien23-Feb-04 8:31 
GeneralRight or Left click on a button Pin
jlechem23-Feb-04 5:12
jlechem23-Feb-04 5:12 
GeneralRe: Right or Left click on a button Pin
Prakash Nadar23-Feb-04 6:59
Prakash Nadar23-Feb-04 6:59 
Questionrandom number? Pin
murali_utr23-Feb-04 4:52
murali_utr23-Feb-04 4:52 
AnswerRe: random number? Pin
murali_utr23-Feb-04 5:42
murali_utr23-Feb-04 5:42 
GeneralRe: random number? Pin
Maximilien23-Feb-04 5:47
Maximilien23-Feb-04 5:47 
AnswerRe: random number? Pin
Prakash Nadar23-Feb-04 5:59
Prakash Nadar23-Feb-04 5:59 
GeneralRe: random number? Pin
David Crow23-Feb-04 7:24
David Crow23-Feb-04 7:24 
GeneralRe: random number? Pin
Prakash Nadar23-Feb-04 13:30
Prakash Nadar23-Feb-04 13:30 
GeneralCallback function as a class member function Pin
Abhi Lahare23-Feb-04 3:32
Abhi 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.