Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionChange button display Pin
samkook12-Jan-07 14:12
samkook12-Jan-07 14:12 
AnswerRe: Change button display Pin
PJ Arends12-Jan-07 14:23
professionalPJ Arends12-Jan-07 14:23 
AnswerRe: Change button display Pin
Hamid_RT12-Jan-07 17:30
Hamid_RT12-Jan-07 17:30 
AnswerRe: Change button display Pin
toxcct13-Jan-07 0:44
toxcct13-Jan-07 0:44 
GeneralRe: Change button display Pin
samkook13-Jan-07 7:01
samkook13-Jan-07 7:01 
GeneralRe: Change button display Pin
ThatsAlok14-Jan-07 19:55
ThatsAlok14-Jan-07 19:55 
GeneralRe: Change button display Pin
samkook15-Jan-07 7:15
samkook15-Jan-07 7:15 
QuestionClass Redefenition Problems Pin
CoffeeAddict1912-Jan-07 14:08
CoffeeAddict1912-Jan-07 14:08 
I'm having problems with class redefenition errors (4 of them, plus 93 other errors about not being able to find class defenitions). Include guards are in place in every file but I'm still getting errors becuase the classes are dependant on one another and I can't figure out a way for all the dependancies to be satisfied and still not get any class redefenitions.

The relevant files:

game_main.cpp
requires stdafx.h and game_operations.h (class CGameWin)

tree_operations.h (class TreeOperations)
requires stdafx.h

GameDialog.h (class GameOptionsDialog)
requires stdafx.h, and game_interface.h (class CGameWin)

game_operations.h (class GameOperations)
requires stdafx.h, game_interface.h (class CGameWin), and tree_operations.h (class TreeOperations)

game_interface.h (class CGameWin)
requires stdafx.h, GameDialog.h (class GameOptionsDialog), and game_operations.h (class GameOperations)

As you can see, I need class CGameWin in both GameDialog.h and game_operations.h, which is a problem since game_interface.h needs GameDialog.h. It makes a loop. I can post the header files if you need me to, but it will take up a lot of space. Please help me out with this. Sigh | :sigh:
AnswerRe: Class Redefenition Problems Pin
PJ Arends12-Jan-07 14:29
professionalPJ Arends12-Jan-07 14:29 
GeneralRe: Class Redefenition Problems Pin
CoffeeAddict1913-Jan-07 5:27
CoffeeAddict1913-Jan-07 5:27 
QuestionPrevent a key to repeat Pin
Tjie Pouw12-Jan-07 12:35
Tjie Pouw12-Jan-07 12:35 
Answer[Message Deleted] Pin
WebsitesNG12-Jan-07 13:03
WebsitesNG12-Jan-07 13:03 
GeneralRe: Prevent a key to repeat Pin
Tjie Pouw13-Jan-07 4:51
Tjie Pouw13-Jan-07 4:51 
AnswerRe: Prevent a key to repeat Pin
PJ Arends12-Jan-07 13:27
professionalPJ Arends12-Jan-07 13:27 
QuestionPreventing MDI windows opening Pin
Trollslayer12-Jan-07 11:41
mentorTrollslayer12-Jan-07 11:41 
AnswerRe: Preventing MDI windows opening Pin
PJ Arends12-Jan-07 13:29
professionalPJ Arends12-Jan-07 13:29 
GeneralRe: Preventing MDI windows opening Pin
Trollslayer12-Jan-07 13:50
mentorTrollslayer12-Jan-07 13:50 
GeneralRe: Preventing MDI windows opening Pin
Trollslayer12-Jan-07 13:54
mentorTrollslayer12-Jan-07 13:54 
GeneralRe: Preventing MDI windows opening Pin
PJ Arends12-Jan-07 14:02
professionalPJ Arends12-Jan-07 14:02 
AnswerRe: Preventing MDI windows opening Pin
Mark Salsbery12-Jan-07 13:37
Mark Salsbery12-Jan-07 13:37 
GeneralRe: Preventing MDI windows opening Pin
Trollslayer12-Jan-07 13:54
mentorTrollslayer12-Jan-07 13:54 
GeneralRe: Preventing MDI windows opening Pin
Mark Salsbery12-Jan-07 14:01
Mark Salsbery12-Jan-07 14:01 
GeneralRe: Preventing MDI windows opening Pin
Trollslayer12-Jan-07 15:31
mentorTrollslayer12-Jan-07 15:31 
QuestionWM_CHAR ,WM_KEYDOWN Pin
Max++12-Jan-07 8:16
Max++12-Jan-07 8:16 
AnswerRe: WM_CHAR ,WM_KEYDOWN Pin
James R. Twine12-Jan-07 8:32
James R. Twine12-Jan-07 8: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.