Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Enter does not post WM_KEYDOWN message... Pin
Neville Franks16-Jun-05 12:43
Neville Franks16-Jun-05 12:43 
GeneralRe: Enter does not post WM_KEYDOWN message... Pin
Ian Bowler17-Jun-05 7:30
Ian Bowler17-Jun-05 7:30 
GeneralRe: Enter does not post WM_KEYDOWN message... Pin
Ian Bowler17-Jun-05 9:00
Ian Bowler17-Jun-05 9:00 
QuestionCan somebody help me with sockets.. Pin
SimCom16-Jun-05 11:46
SimCom16-Jun-05 11:46 
AnswerRe: Can somebody help me with sockets.. Pin
Member 142769216-Jun-05 13:42
Member 142769216-Jun-05 13:42 
Generalstructs Pin
err8516-Jun-05 11:16
susserr8516-Jun-05 11:16 
GeneralRe: structs Pin
PJ Arends16-Jun-05 11:37
professionalPJ Arends16-Jun-05 11:37 
GeneralRe: structs Pin
Christian Graus16-Jun-05 12:24
protectorChristian Graus16-Jun-05 12:24 
A global is almost always a bad idea. You should at least put it in the scope of a class. Your struct as it stands has scope of the global method you've written outside the struct, which is why you can't see it at all. If you create a class which has a static array of these things, then it will be visible where-ever this class is visible. Then put the include for the header of the class in your stdafx.h, so it's available everywhere.


Christian Graus - Microsoft MVP - C++
GeneralRe: structs Pin
David Crow16-Jun-05 12:46
David Crow16-Jun-05 12:46 
GeneralRe: structs Pin
sunit516-Jun-05 21:15
sunit516-Jun-05 21:15 
General_bstr_t Pin
LCI16-Jun-05 10:42
LCI16-Jun-05 10:42 
GeneralRe: _bstr_t Pin
PJ Arends16-Jun-05 11:40
professionalPJ Arends16-Jun-05 11:40 
GeneralRe: _bstr_t Pin
LCI16-Jun-05 11:47
LCI16-Jun-05 11:47 
GeneralRe: _bstr_t Pin
PJ Arends16-Jun-05 11:55
professionalPJ Arends16-Jun-05 11:55 
GeneralRe: _bstr_t Pin
Christian Graus16-Jun-05 12:06
protectorChristian Graus16-Jun-05 12:06 
GeneralCComboBox Question Pin
Ian Bowler16-Jun-05 10:26
Ian Bowler16-Jun-05 10:26 
GeneralRe: CComboBox Question Pin
Maximilien16-Jun-05 10:32
Maximilien16-Jun-05 10:32 
GeneralRe: CComboBox Question Pin
Ian Bowler16-Jun-05 10:45
Ian Bowler16-Jun-05 10:45 
GeneralRe: CComboBox Question Pin
LCI16-Jun-05 10:36
LCI16-Jun-05 10:36 
GeneralRe: CComboBox Question Pin
Ian Bowler16-Jun-05 10:46
Ian Bowler16-Jun-05 10:46 
GeneralRe: CComboBox Question Pin
David Crow16-Jun-05 10:57
David Crow16-Jun-05 10:57 
GeneralMFC Doc/View Pin
E Dyot16-Jun-05 10:12
E Dyot16-Jun-05 10:12 
GeneralRe: MFC Doc/View Pin
David Crow16-Jun-05 10:55
David Crow16-Jun-05 10:55 
GeneralRe: MFC Doc/View Pin
Member 142769216-Jun-05 13:49
Member 142769216-Jun-05 13:49 
GeneralXML Pin
LCI16-Jun-05 10:01
LCI16-Jun-05 10:01 

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.