Click here to Skip to main content
15,897,334 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: values of language,computer name and user name Pin
wootski18-Apr-08 18:57
wootski18-Apr-08 18:57 
GeneralRe: values of language,computer name and user name Pin
Le@rner18-Apr-08 19:05
Le@rner18-Apr-08 19:05 
GeneralRe: values of language,computer name and user name Pin
Hamid_RT18-Apr-08 20:34
Hamid_RT18-Apr-08 20:34 
QuestionVisual C++ 6.0 How do I put copyright symbol in Help About box Pin
Kwanalouie18-Apr-08 12:01
Kwanalouie18-Apr-08 12:01 
GeneralRe: Visual C++ 6.0 How do I put copyright symbol in Help About box Pin
Michael Schubert18-Apr-08 12:47
Michael Schubert18-Apr-08 12:47 
GeneralRe: Visual C++ 6.0 How do I put copyright symbol in Help About box Pin
chandu00418-Apr-08 21:48
chandu00418-Apr-08 21:48 
GeneralRe: Visual C++ 6.0 How do I put copyright symbol in Help About box Pin
Joe Woodbury20-Apr-08 17:37
professionalJoe Woodbury20-Apr-08 17:37 
QuestionData members Pin
jpyp18-Apr-08 11:53
jpyp18-Apr-08 11:53 
Hi!
One of my include file used to be like this:

my_include.h

<br />
struct tagInfo<br />
{<br />
   int a;<br />
   int b;<br />
} stInfo;<br />


Then I added the element c:

<br />
struct tagInfo<br />
{<br />
   int a;<br />
   int b;<br />
   int c;<br />
} stInfo;<br />


My program goes something like this:

<br />
#include "my_include.h"<br />
MyProg ()<br />
{<br />
   // somewhere in my code<br />
   CString string1.Format("%d", stInfo.a);<br />
   CString string2.Format("%d", stInfo.c);<br />
}<br />


In the string#.Format statement, when I type the . after stInfo, VC++ open a popup window with a list of all elements included in the structure stInfo. That list still shows a and b only. The element c is not showed but it compiles properly. I know I have the right file because if I change the element a to z in my include file, then the code does not compile because a is not a member of stInfo.

I guess I need to refresh something but I don't know what.
Thanks for your help.

jpyp

GeneralRe: Data members Pin
Gary R. Wheeler19-Apr-08 1:44
Gary R. Wheeler19-Apr-08 1:44 
GeneralMFC-- coding behind a button Pin
komalwaseem18-Apr-08 9:38
komalwaseem18-Apr-08 9:38 
GeneralRe: MFC-- coding behind a button Pin
Michael Schubert18-Apr-08 12:20
Michael Schubert18-Apr-08 12:20 
GeneralRe: MFC-- coding behind a button Pin
Hamid_RT18-Apr-08 18:15
Hamid_RT18-Apr-08 18:15 
QuestionRe: MFC-- coding behind a button Pin
David Crow19-Apr-08 3:39
David Crow19-Apr-08 3:39 
GeneralHWND nach LPCWSTR casten Pin
Rahvin18-Apr-08 9:11
Rahvin18-Apr-08 9:11 
GeneralRe: HWND nach LPCWSTR casten Pin
CPallini18-Apr-08 9:21
mveCPallini18-Apr-08 9:21 
GeneralRe: HWND nach LPCWSTR casten Pin
Garth J Lancaster18-Apr-08 13:36
professionalGarth J Lancaster18-Apr-08 13:36 
QuestionRe: HWND nach LPCWSTR casten Pin
CPallini18-Apr-08 22:14
mveCPallini18-Apr-08 22:14 
GeneralRe: HWND nach LPCWSTR casten Pin
Garth J Lancaster18-Apr-08 22:55
professionalGarth J Lancaster18-Apr-08 22:55 
GeneralRe: HWND nach LPCWSTR casten Pin
Randor 18-Apr-08 9:33
professional Randor 18-Apr-08 9:33 
GeneralRe: HWND nach LPCWSTR casten Pin
Rahvin18-Apr-08 9:39
Rahvin18-Apr-08 9:39 
GeneralRe: HWND nach LPCWSTR casten Pin
peterchen18-Apr-08 23:31
peterchen18-Apr-08 23:31 
GeneralRe: HWND nach LPCWSTR casten Pin
Hamid_RT18-Apr-08 18:29
Hamid_RT18-Apr-08 18:29 
GeneralC++ casting/converting a class to its sibiling Pin
kk_mfc18-Apr-08 6:43
kk_mfc18-Apr-08 6:43 
GeneralRe: C++ casting/converting a class to its sibiling Pin
led mike18-Apr-08 6:55
led mike18-Apr-08 6:55 
GeneralRe: C++ casting/converting a class to its sibiling Pin
Matthew Faithfull18-Apr-08 6:59
Matthew Faithfull18-Apr-08 6:59 

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.